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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rpjheeney
Frequent Visitor

Percentage Help

Hi all

Im trying to display the value highlighted below as a percentage, however when i attempt to convert it, it shows 100%.
I'm looking to display the percentage for SLA Achieved across the dataset.

 

thankyou, Rob

 

rpjheeney_0-1738743757769.png

 

rpjheeney_1-1738743822986.pngrpjheeney_2-1738743854042.png

 

 

1 ACCEPTED SOLUTION

You are missing a part of the CALCULATE, 

 

Use the formula provided by @rajendraongole1 

 

If this helped you, please feel free to send a thumb up 

 

SLA Achieved Percentage =
VAR TotalCount = COUNT('Table'[SLA Status]) -- Count of all SLA statuses
VAR AchievedCount = CALCULATE(COUNT('Table'[SLA Status]), 'Table'[SLA Status] = "SLA Achieved") -- Count of only "SLA Achieved"
RETURN
DIVIDE(AchievedCount, TotalCount, 0)

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Hi, @rpjheeney 

Glad to hear you solved the problem!  
If you can, please mark the correct answer as a standard answer, which will be beneficial for future users to read this post. 

 

Best Regards

Yongkang Hua

Bibiano_Geraldo
Super User
Super User

Hi @rpjheeney ,

Across dataset is what measure to compare? plase can you share the DAX used?

Hi, thankyou for the response. 

I'm looking to capture the percentage total where the value "SLA Achieved" appears across the table.

rpjheeney_0-1738756229105.png

 

rajendraongole1
Super User
Super User

Hi @rpjheeney  - It looks like your measure for "SLA Achieved" is currently displaying as a count. When you try to convert it to a percentage, it likely calculates the percentage as 1.00 (or 100%) because it's not being divided by the total count of all SLA statuses.

 

SLA Achieved Percentage =
VAR TotalCount = COUNT('Table'[SLA Status]) -- Count of all SLA statuses
VAR AchievedCount = CALCULATE(COUNT('Table'[SLA Status]), 'Table'[SLA Status] = "SLA Achieved") -- Count of only "SLA Achieved"
RETURN
DIVIDE(AchievedCount, TotalCount, 0)





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Thankyou for this, i've attempted to run this and it hasnt worked.

 

Please can you advise? Thanks, Rob

 

rpjheeney_0-1738755432392.png

 

You are missing a part of the CALCULATE, 

 

Use the formula provided by @rajendraongole1 

 

If this helped you, please feel free to send a thumb up 

 

SLA Achieved Percentage =
VAR TotalCount = COUNT('Table'[SLA Status]) -- Count of all SLA statuses
VAR AchievedCount = CALCULATE(COUNT('Table'[SLA Status]), 'Table'[SLA Status] = "SLA Achieved") -- Count of only "SLA Achieved"
RETURN
DIVIDE(AchievedCount, TotalCount, 0)

this has now worked. Thankyou everyone for your feedback, greatly appreciated!

MattiaFratello
Super User
Super User

Hi @rpjheeney ,

 

First create a DAX Measure that calculates the count of SLA Achieved
COUNT OF SLA = CALCULATE(COUNT(SLA_ACHIVED), SLA_ACHIEVED = SLA_ACHIEVED)

 

then create another DAX Measure as follow:

DIVIDE(COUNT OF SLA, COUNT(SLA_ACHIEVED))

 

Format this one as %

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.