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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors