Forum Discussion
Remove old duplicates
- 10 years ago
Anonymous It is almost the same thing. The UI is a bit diffrent.
In PowerBI Desktop go to "Edit Queries"
Select the table/query taht you import from excel -> Select the ID column only and sort ( doesn't matter asc or desc) ->
Select the Sales Stage column now & sort z-a ( the biggest on top )
Notice the small numbers for the order of sorting in the column?
now the tricky part
Click the formula icon (fx) in the bar. This will create a new step 'Custom" and also in the bar will be the name of the previous step = #"Sorted Rows"
Now after equal sign wirite =Table.Buffer( #"Sorted Rows")
SO just write the formula and include the text already there - previous step.
You already know how to remove duplicates so that is.
Hope it works
We do have different values in another column. The post from Ken Plus assumes we are using PowerQuery. But we are using Power BI Desktop and I don't understand how to make that work in Power BI Desktop (if at ll possible).
Thank you,
Oscar Broekman
Anonymous It is almost the same thing. The UI is a bit diffrent.
In PowerBI Desktop go to "Edit Queries"
Select the table/query taht you import from excel -> Select the ID column only and sort ( doesn't matter asc or desc) ->
Select the Sales Stage column now & sort z-a ( the biggest on top )
Notice the small numbers for the order of sorting in the column?
now the tricky part
Click the formula icon (fx) in the bar. This will create a new step 'Custom" and also in the bar will be the name of the previous step = #"Sorted Rows"
Now after equal sign wirite =Table.Buffer( #"Sorted Rows")
SO just write the formula and include the text already there - previous step.
You already know how to remove duplicates so that is.
Hope it works
- Anonymous10 years agoNot applicable
Thank you. I am able to follow all steps, until ' Click the formula icon (fx) in the bar. ' I don't see that white bar in my screen. How do I make that white bar show?
- Emmaxson9 years ago
Advocate I
Awesome! It did work for me. konstantinos Where did you learn that from? I need to up my game too.
- Anonymous8 years agoNot applicable
Excellent! You made my day. I just had to create an Indexed column in the query editor, sort descending on Index, and then buffer.