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

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

Reply
jboschee34
Frequent Visitor

Calculate Sum Issue per row

I have multiple rows with the same order number but different products ship at different times.  How do I get the total sale amount to be on the each row of the same order number?  My goal is to have the $16 show on each row.

Order   Date   Amount     Total
1           1/1         $5          $16

1           1/3         $7          $16

1           1/5         $4          $16

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

Try the following:
Total = CALCULATE(SUM([Amount]), ALLEXCEPT(Table, [Order]))

View solution in original post

2 REPLIES 2
vicky_
Super User
Super User

Try the following:
Total = CALCULATE(SUM([Amount]), ALLEXCEPT(Table, [Order]))

PERFECT!!!!! @vicky_   Thank you!  The ALLEXCEPT was what I was missing!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors