Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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:
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 8 | |
| 6 |