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
Easley08
Helper I
Helper I

Wrong total in the table

Hi 

 

is there a way to get the right total for this 

measure : 

A = AVERAGE(Table1[COMP_PRICE])

B = SUM(Tabl1[COMP_QTY])

 

Easley08_0-1694394655269.png

total sum for A*B should be 5560 

 

 

thanks

1 REPLY 1
DataNinja777
Super User
Super User

Hi @Easley08,

Did you mean Table1 and Tabl1 in your question to be different tables, or are they supposed to be the same table?  

Sakiko_0-1694408790868.png

Assuming that you meant them to be in the same table (i.e., both 'Table1'), the following dax formula will get you the result you need which adds up rows correctly.  

Sakiko_1-1694408934016.png

Helpful resources

Announcements
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!

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.