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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

How to make a total 100% on Chart? (When Sum it)

Hello, 
 
This is going to be confusing, please bear with me. 
 
I am trying to get 100% when I sum of everything on my Tornado chart (all the Late + all the Ontime) wthout Other.  Right now, it will come up to 43.52%. That because I remove Other on filter which fill up the rest.   Please see below. 
 Capture1.PNG
 
 When I chnage my vlaues to "Show value as a Percetage of grad total" my ontime will bum up to 17.86% to balance. This will not match with my OTD guage which only show ontime stauts. 
Capture2.PNG
 
I am trying to get the sum of evrthing 100% without Other on my Tornado chart, but whatever ontime number should match OTD guage too. 
 
Anybody please help me how to do that? Is there anyway I can get the same number? May be chnaging the OTD gauge? 
 
More datails - 
Capture3.PNG

 

 

 

Percentage = DIVIDE(COUNT('Raw_Data'[OTD Status]),CALCULATE(COUNT('Raw_Data'[OTD Status]),ALL(Raw_Data)))

 

 

Please let me know if this does not make sense. Thank you so much

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Anonymous ,

 

Not really sure if I understand your request but in your measure you are refering ALL so this will consider every line in your data model (on time, late and other) try to redo your measure to:

 

Percentage =
DIVIDE (
    COUNT ( 'Raw_Data'[OTD Status] ),
    CALCULATE (
        COUNT ( 'Raw_Data'[OTD Status] ),
        FILTER ( ALL ( Raw_Data ), NOT ( 'Raw_Data'[OTD Status] IN { "Other" } ) )
    )
)

 

Basically I'm picking up the all the values except for the Other and making the division based on that.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @Anonymous ,

 

Not really sure if I understand your request but in your measure you are refering ALL so this will consider every line in your data model (on time, late and other) try to redo your measure to:

 

Percentage =
DIVIDE (
    COUNT ( 'Raw_Data'[OTD Status] ),
    CALCULATE (
        COUNT ( 'Raw_Data'[OTD Status] ),
        FILTER ( ALL ( Raw_Data ), NOT ( 'Raw_Data'[OTD Status] IN { "Other" } ) )
    )
)

 

Basically I'm picking up the all the values except for the Other and making the division based on that.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Thank you so much. Actually this works well for me. 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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