Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi, I would like to find a way to visualize the percentage of each category from a column called Status, but I would like to use another column called ID as a reference for the total count of them (making sure there is a distinct count in the total of ID values) as the rows contain duplicates.
Both columns look like this:
Status ID
Approved M1
Approved M1
Rejected E2
Initiated F3
Initiated P6
Pending L4
Pending L4
Approved X9
Approved X9
Approved T8
Thanks for your help!
Solved! Go to Solution.
Hi,
Please check the below picturea and the attached pbix file.
Percentage measure: =
DIVIDE (
DISTINCTCOUNT ( Data[ID] ),
CALCULATE ( DISTINCTCOUNT ( Data[ID] ), REMOVEFILTERS () )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
Please check the below picturea and the attached pbix file.
Percentage measure: =
DIVIDE (
DISTINCTCOUNT ( Data[ID] ),
CALCULATE ( DISTINCTCOUNT ( Data[ID] ), REMOVEFILTERS () )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Thanks a lot! it works perfect!
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
33 | |
16 | |
13 | |
10 | |
8 |
User | Count |
---|---|
59 | |
20 | |
12 | |
11 | |
10 |