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
Kopek
Helper IV
Helper IV

percent of grand total

Hello Everyone,

 

I know this question has been raised a few times.

I tried to find a solution, but without success.

I think i am close to solve my problem, but would appreciate your help!

 

I need to count how many Service requests have been solved in SLA.

 

My data looks like:

 

SR_NUMBER, RESOLUTION_SLA_MET (YES / NO column), and few more columns, but i think it's everything I need for this measure.

 

Let's say total number of SR is 1000 and 900 is resolved in SLA, so 90% or SRs is resolved in SLA.

 

When I try to do this in PowerBI it ALWAYS shows 100%.

 

I tried to implemented this measure:

 

 

SLA_Met = DIVIDE([All_Requests] , CALCULATE([All_Requests], all ('Service Request'[RESOLUTION_SLA_MET])))

 

all requestes - it's a measure where I count all my requestes.
(All_Requests = COUNT('Service Request'[SR_NUMBER])

 

Even though I use above SLA MET measure and I choose Resolution SLA Met - "yes" in visual fiter section it shows 100%.

Could you please let me know, what's wrong here ?

 

I need to have this interactive, so that I can use portfolio filters and show proper % for each portfolio. I don't want to calculate it for each portfolio manually. Hope it's possible.

 

Thanks a lot!

1 ACCEPTED SOLUTION
Kopek
Helper IV
Helper IV

All works now 🙂

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Try

 

SLA_Met = DIVIDE([All_Request], Calculate([All_Request],ALL('Service Request'))

 

i.e. without the column filter.

OR 

SLA_Met = DIVIDE([All_Request], Calculate([All_Request],FILTER(ALL('Service Request')))

 

 

Hi Adetogni,

 

It works now.

I used %ofGrandTotal in visualisation.

Whereas I should have been used "no calculation" and everything works now.

 

Anyway, thanks for your help! 🙂

Kopek
Helper IV
Helper IV

All works now 🙂

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.