Forum Discussion
GuilleATT
6 years agoFrequent Visitor
Merge query is acting weird
Hi, I have a Sales table with closed dates between other variables and I'm trying to create a new column in Power Query to indicate if the Sales is the first time that happens for an AccountID. ...
- 6 years ago
Hi GuilleATT ,
the behaviour you're seeing would happen if you don't use a Table.Buffer when sorting before removing duplicates: https://community.powerbi.com/t5/Community-Blog/Bug-warning-for-Table-Sort-and-removing-duplicates-in-Power/ba-p/810390
ImkeF
6 years agoCommunity Champion
Hi GuilleATT ,
the behaviour you're seeing would happen if you don't use a Table.Buffer when sorting before removing duplicates: https://community.powerbi.com/t5/Community-Blog/Bug-warning-for-Table-Sort-and-removing-duplicates-in-Power/ba-p/810390
GuilleATT
6 years agoFrequent Visitor
Awesome, that worked, thank you so much!