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
lpriceFTW
Helper II
Helper II

Custom column; show aggregate total on each row based on values in a column

I have a table containing invoice data. Invoices are broken down by item/item amount.

 

I want to create a column in this table that shows the invoice total based on the invoice number of the calculated row.

 

I created the below table in Excel using a sumif formula which looks at the range of the invoice column, criteria equals the column/row being evaluated, and the sum range is the amt column.

 

How do I do this in PowerBI?

 

Example table (see desired results in pink):

 

IDInvoiceItemAmtInv Total
11001A widget          0.50          4.50
21001B widget          0.50          4.50
31001C widget          1.00          4.50
41001D widget          1.00          4.50
51001E widget          1.50          4.50
62001A widget          0.50          1.00
72001B widget          0.50          1.00
83001A widget          0.50          2.00
93001B widget          0.50          2.00
103001C widget          1.00          2.00
1 ACCEPTED SOLUTION
RemyO
Resolver I
Resolver I
3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@lpriceFTW Excel to DAX Translation - Microsoft Power BI Community Look at the S category for SUMIF equivalent.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
RemyO
Resolver I
Resolver I

Thanks this worked.

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.