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
Anonymous
Not applicable

Help with gauge showing blank values

Hi 

 

I could do with some help with a guage visulisation 

 

The guage is showing the % of tickets that have been resolved withtin their SLA during a selected month 

 

At the beggining of the month the guage shows as Blank, I am assuming this is just because theere arent any calls that have breeched their SLA target, but if possible I would like the guage to show at 100% until the calls start breeching.

 

Capture.PNG

The gauge is based on the following 

 

RESOLUTIONSuccessRate =
CALCULATE(
    COUNTA(opencall[ResSLA]),
opencall[ResSLA] ="Achieved SLA") /
     CALCULATE(COUNTA(opencall[ResSLA]))

 

Any help on achieving this would be really appprechiated.

 

Cheers

RC

 

 

 

 

1 ACCEPTED SOLUTION
evandrocunico
Resolver III
Resolver III

Hi @Anonymous , 

 


RESOLUTIONSuccessRate = var __SLA = CALCULATE(COUNTA(opencall[ResSLA]),opencall[ResSLA] ="Achieved SLA") / CALCULATE(COUNTA(opencall[ResSLA]))
var __result = if (ISBLANK(__SLA);1;__SLA)
return __result

 

regards.

View solution in original post

3 REPLIES 3
evandrocunico
Resolver III
Resolver III

Hi @Anonymous , 

 


RESOLUTIONSuccessRate = var __SLA = CALCULATE(COUNTA(opencall[ResSLA]),opencall[ResSLA] ="Achieved SLA") / CALCULATE(COUNTA(opencall[ResSLA]))
var __result = if (ISBLANK(__SLA);1;__SLA)
return __result

 

regards.

Anonymous
Not applicable

whereabouts exactly do you enter the script.
I have the same issue but I’m just creating a gauge using the drag-and-drop functionality.
Where do I apply a script solution?
Anonymous
Not applicable

Hero!

 

Thanks you so much for your help!

 

RC

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.