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
walker8888
Helper I
Helper I

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
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.