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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
walker8888
Helper II
Helper II

undefined

I am creating a cluseterd bar chart in which I have unpivoted two columns (Internal FTE's % and External FTE''s %), so that they can be shown seperately with their own bars

 

Before

walker8888_0-1663188747423.png

 

After

walker8888_1-1663188857227.png

After doing so I have created my cluseterd chart and everything looks fine, however when I put my value% as a grand total it is giving me the grand total of both the Internal and External FTE's instead of a Grand total of 100% each

walker8888_2-1663188956575.png

 

How can I get a grand total of a 100% for each the Internal and External FTE? 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @walker8888 ,

 

You could create a measure as values.

 

Measure =
DIVIDE (
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER (
            ALLSELECTED ( 'Table' ),
            [Attribute] = MAX ( 'Table'[Attribute] )
                && [Priority] = MAX ( 'Table'[Priority] )
        )
    ),
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER ( ALLSELECTED ( 'Table' ), [Attribute] = MAX ( 'Table'[Attribute] ) )
    )
)

 

vstephenmsft_0-1663221481710.png

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @walker8888 ,

 

You could create a measure as values.

 

Measure =
DIVIDE (
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER (
            ALLSELECTED ( 'Table' ),
            [Attribute] = MAX ( 'Table'[Attribute] )
                && [Priority] = MAX ( 'Table'[Priority] )
        )
    ),
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER ( ALLSELECTED ( 'Table' ), [Attribute] = MAX ( 'Table'[Attribute] ) )
    )
)

 

vstephenmsft_0-1663221481710.png

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

What if I had 3 more bars that I wanted to show seperately, so in all that would be 5

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.