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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Total Measure by Group

Legal EntityEDIeStoreManualGrand Total
* USA43,763198,983371,231613,977
Australia7,9044,50320,71433,121
Brazil 21520,45020,665
Canada 4,39434,11638,510

I have a matrix visual like this in Power BI.  The Grand Total for the rows calculates and displays, but I think I need a measure to calculate the row total in order to derive the percent of total in each row by Order Category (EDI, eStore, Manual).


In the end, the matrix will look like this:

Legal EntityEDIeStoreManual
* USA7.1%32.4%60.5%
Australia23.9%13.6%62.5%
Brazil0.0%1.0%99.0%
Canada0.0%11.4%88.6%

 

What measures do I need to write to accomplish this?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

[%] =
DIVIDE(
    [Total],
    CALCULATE(
        [Total],
        ALLSELECTED( T[Order Category] )
    )
)

... if you want to get visual percentages...

 

and this if you want to get absolute percentages:

[%] =
DIVIDE(
    [Total],
    CALCULATE(
        [Total],
        ALL( T[Order Category] )
    )
)

View solution in original post

1 REPLY 1
Anonymous
Not applicable

[%] =
DIVIDE(
    [Total],
    CALCULATE(
        [Total],
        ALLSELECTED( T[Order Category] )
    )
)

... if you want to get visual percentages...

 

and this if you want to get absolute percentages:

[%] =
DIVIDE(
    [Total],
    CALCULATE(
        [Total],
        ALL( T[Order Category] )
    )
)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.