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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
betty_bui2602
Helper I
Helper I

PBI sum up Price column

Hello all, 

I have question regarding total value which take qty and unit price from 2 different table

betty_bui2602_0-1669115375273.png

I have AvgNetPrice raw data from in table Net_Price and Current Fcst from another table. My result per row is correct, but sum is not

Any idea how to solve. 

TIA 

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @betty_bui2602 ;

Can you share data from two simple tables? And their relationship, in general, we use sumx(summarize()) to correct total?

It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

Solved: How to upload PBI in Community - Microsoft Power BI Community


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-yalanwu-msft
Community Support
Community Support

Hi, @betty_bui2602 ;

Glad to hear that you solved it, can you mark the proper reply as a solution to close the case?

Thank you!


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yalanwu-msft
Community Support
Community Support

Hi, @betty_bui2602 ;

Can you share data from two simple tables? And their relationship, in general, we use sumx(summarize()) to correct total?

It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

Solved: How to upload PBI in Community - Microsoft Power BI Community


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I have resolve it with summarize(). 

Thank you 😉

FarhanAhmed
Community Champion
Community Champion

Change the Price Column/Field properties to "Do Not Summarize"

or change the aggregation to "Do Not SUmmarize"

FarhanAhmed_0-1669116780950.png

 

FarhanAhmed_1-1669116867378.png

 

 







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




Thank for respone, id tried it but total is not as what it should be. 

betty_bui2602_1-1669117518956.png

 

MarketMaterialAvg(NetPriceUSD)Sum of Lag 0ForecastCurrent Fcst $
AUSE1LM01000029.97484446          133,268
NZLE1LM01000029.9748324              9,712
JPNE1LM01000040.3357250            10,084
TWNE1LM01000050.3971880            44,349
IDNE1LM01000051.685226            11,681
MYSE1LM01000051.6851860            96,134
PHLE1LM01000051.68570              3,618
SGPE1LM01000051.6851053            54,424
VNME1LM01000051.6851080            55,820
THAE1LM01000057.16251900          108,609
HKGE1LM01000061.24744030          246,827
              774,526

My measure: 

sumx('Avg Net_USD','Avg Net_USD'[Avg(NetPriceUSD)]) * sumx('MTD Attainment'[currentForecast])

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.