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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello,
| Code | Plan | Status |
| 101 | Buy | Ready |
| 102 | Sell | Ready |
| 102 | Sell | Ready |
I would like to count unique code by Status and Planm but I have duplicates in Code column.
So on Report, I could drop Plan and "Count of Status" showing 1 for Plan SELL, based on table above.
I have this measurment but it doesn't do the job, as is showing 2, counting Code per plan ONLY, without looking at Status
Solved! Go to Solution.
not sure if i get you, try this
Measure2 =
hi @MasterSonic
Hi,
thanks but It does not give the wanted result.
lets extend my table
| Code | Plan | Status |
| 101 | Buy | Ready |
| 102 | Sell | Ready |
| 102 | Sell | Ready |
| 103 | Sell | Ready |
Now it should showing col=Plan value=Sell should be 2
As we have code duplicated.
I would like to count Code per Plan where value in column Status is Ready, but do not count duplicated Codes. Maybe this will help
not sure if i get you, try this
Measure2 =
Thank You for help I have added below and I got what wanted.
Measure2 =
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 19 | |
| 12 | |
| 11 | |
| 6 | |
| 6 |