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

PowerBI Running Total error

I am trying to multiply 3 columns together in a PowerBI Table Visual and this seems to work well for the row values and gives the correct answer, but it seems to produce a huge running total which is much higher than the sum of all the values in the calculated column. I think I have an error in my formula but don't know how to fix it. I have shown a snapshot below showing the formula. The running total should be 567,082.24sqm, but it shows a huge number instead. I am multiplying an area (NIA Area sqm) column by two percentage columns (Percentage Org) and (Percent Usage Activity Tag). The percentage columns are in a different table to the area column. The formula gives the correct answer for each row, but not the total. Could you please help me enter the correct formula to fix the total?

PBI.png

2 ACCEPTED SOLUTIONS
SamanthaPuaXY
Helper II
Helper II

Hi @scd66 ,
you are summing the individual columns then doing the product. Instead you could put all the columns in the same table, then use this formula:
Measure = SUMX(Table, Column1 * (Column2/100) * (Column3/100))

Hope this helps, do give a kudos if it solves your problem 🙂

View solution in original post

Thank you so much Samantha. I got your formula to work when I merged the area table to the percentages table and it now gives the correct running total.

View solution in original post

3 REPLIES 3
pankajnamekar25
Super User
Super User

Hello ,

You can try below measure

 

NIA Area Used2 =
SUMX(
Locations,
Locations[NIA sqm] *
RELATED(Merge Org Occ Usage[Percentage Org]) *
RELATED(Merge Org Occ Usage[Percent Usage Activity Tag])
)

 

if it is not helping share sample pbix

SamanthaPuaXY
Helper II
Helper II

Hi @scd66 ,
you are summing the individual columns then doing the product. Instead you could put all the columns in the same table, then use this formula:
Measure = SUMX(Table, Column1 * (Column2/100) * (Column3/100))

Hope this helps, do give a kudos if it solves your problem 🙂

Thank you so much Samantha. I got your formula to work when I merged the area table to the percentages table and it now gives the correct running total.

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.