Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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 =
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
11 | |
10 | |
9 | |
9 |