donkey shrek
New Member
- Joined
- Nov 15, 2022
- Messages
- 26
- Office Version
- 365
- Platform
- Windows
I want to identify duplicates in column RandomColumn without using Group By - as this method will drop unused columns
Power Query:
= let columnNames = {"RandomColumn"}, addCount = Table.Group(#"Added Index", columnNames, {{"Count", Table.RowCount, type number}}) in Table.AddColumn(#"Added Index", "TESTICLES", if Table.SelectRows(addCount, each [Count] > 1) then "Duplicate" else "OK")