I'm having a file with data as showing in the screenshot:
Need to build a query that will remove all rows with the same search ref, provided at least one row has a non-zero value. From the particular screenshot, all highlighted rows should be deleted, since there is at least one entry with Order_Placed=1.
Does anyone have an idea on whether same feasible?
Have applied a workaround with filtering out the rows with Order_Placed=1 and then vlookup the whole table, but would like a query like solution
Thank you in advance for your assistance!
Power Query Solution
Lets take a sample data like yours
get & transform
then from table
dat
and dummy
by group by
like thisdat
to get like thisNow you can easily filter out data by dummy column.