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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.