Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I have below dataset and required output in screenshot.
I would like to create Flag column in power query with below conditions
if Count is blank, all rows should be flagged as 1
if Count is not blank, I would like to Flag rows only for Ref 11,21 and 3.
for Ref 11,21 and 3, if Count is 2, Flag only Row where Type ="B"
Solved! Go to Solution.
Hi @rob_vander2 ,You could achive this by custom column and if condition please try these
Filter the Rows:
Hi @rob_vander2 , here's a solution you can check out. I'll attach a snippet of M code I used. Thanks
Hi @rob_vander2 , here's a solution you can check out. I'll attach a snippet of M code I used. Thanks
Hi @rob_vander2 ,You could achive this by custom column and if condition please try these
Filter the Rows:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!