Forum Discussion
Anonymous
4 years agoNot applicable
How to remove duplicate with if else condition
Hi all, Want to ask how can I remove duplicate with if else condition? Do it have some formula for that? Current data Data that I want it to be view in powerbi I ...
stenford23
4 years agoHelper I
Can you explain more which rows you expect to drop or keep and why?
- Anonymous4 years agoNot applicable
Hi stenford23 ,
I want to drop the yellow highlighted row and remain the not highlighted row.
Because as you can see in the red highlighted data is different.
Regards,
Nuha
- stenford234 years agoHelper I
Table.Distinct( Table.Buffer( Table.Sort( original_table, {"End Time", Order.Ascending} ) ), {"Usage (Unit)}" )Sort by End date (add start date also if you need it), Buffer it (otherwise it won't work) and get distinct.
- Anonymous4 years agoNot applicable