Forum Discussion
Create new table by removing duplicates on certain column in current table
Hi All,
I already have a current data (Table A) but I want to create a new table by removing the duplicates from the column "Order Number" from Table A. I don't need to transform Table A as I need it as it is, but I need a replica of Table A without the duplicates.
Need your help on this.
Thanks.
6 Replies
- PVO3
Impactful Individual
In Power Query right click the table and press 'Reference'. Right click the [Order number] and press 'Remove duplicates'.
- AnonymousNot applicable
Sorry, but I missed a detail. The table that I have is in Direct Query, so it does not support removing duplicates from the column.
- PVO3
Impactful Individual
Then what about a DAX table (data view --> table tools --> new table) then type:
Table = Distinct([Order Number])
Additional columns can be added by logic.
- AnonymousNot applicable
this should be helpful but the result of the query exceeded 1M rows