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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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