Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AmberGardner
Frequent Visitor

Percentage of cases

I have been searching on the forums and am really struggling to calculate the percentage of my values. So i have a table which has the case code type and then the count of the case references. This count column is my case reference field and then it has the "count (distinct)" option applied on the visualizations tab. 

AmberGardner_0-1721643080799.png 

AmberGardner_1-1721643102117.png

 

I need to know what the percentage is for this count. I have gone through other forums and i really cant get a handle on this. I struggle with numbers and i am really new to PowerBI so please bear with me. 

1 ACCEPTED SOLUTION
BITomS
Solution Supplier
Solution Supplier

Hi @AmberGardner , in your screenshot, there is an option for 'Show value as'. If you navigate here, you have the option to show as %.

View solution in original post

4 REPLIES 4
bhanu_gautam
Super User
Super User

@AmberGardner , First create a measure using All function to control filter context

 

TotalCaseFullRef = CALCULATE(SUM('Case Details'[CaseFullRef]), ALL('Case Details'))
 
Then one more 
DAXPercentageOfTotal =
DIVIDE(
    SUM('Case Details'[CaseFullRef]),
    [TotalCaseFullRef],
    0
)
 
Power BI file attached with solution



Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Unfortunately this doesnt work for me as the case full ref is not a number. This is why i have had to do a distinct count as this field includes numbers and letters to create a unique reference for each case. I have accepted an alternative solution for this query, but thank you for your support

BITomS
Solution Supplier
Solution Supplier

Hi @AmberGardner , in your screenshot, there is an option for 'Show value as'. If you navigate here, you have the option to show as %.

Thank you so much! It is definitely the easiest solutions that seem to be impossible to find! 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors