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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
tracyng0905
Frequent Visitor

Sub-total of part-of dimensions in Table (ignore some other dimensions)

Hi,
I have a table like below with multiple dimensions and value (Amount). What I want to do is to calculate the sub-total by each member and category, here is my expression but it return incorrect result. Can someone pls help me?

Cat Sub Total = Calcaulate(SUM(Amount), ALL(Sub-Cat), ALL(Brand),ALL(Product), ALL(Amount))

 

MemberCategorySub-CatBrandProductAmountCat Sub Total
M001C001SC001B001P0011001000
M001C001SC002B002P0022001000
M001C001SC003B003P0033001000
M001C001SC004B004P0044001000
M002C002SC005B005P005150350
M002C002SC005B006P006200350
M002C003SC006B007P007100600
M002C003SC007B008P008300600
M002C003SC007B009P009200600

Regards,

TN

1 REPLY 1
Anonymous
Not applicable

You have not stated if you're after a measure or a calculated column in one of the base tables... or in a completely new table...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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