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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Justas4478
Post Prodigy
Post Prodigy

Sum for total in table

I have a measure in the table and the total of that measure is boing done as calculation by the table. And it brings wrong total. But the other column totals are correct. Is it possible to change that total for that measure would be calculated as a SUM and not as a calculation.

Calculation of total.PNG

1 ACCEPTED SOLUTION
vanessafvg
Community Champion
Community Champion

you will not be able to change the total but what you need to do is understand why your total is wrong.   You need to underststand how dax and power bi works.

 

this video is useful in getting the nitty gritty on it.

https://www.youtube.com/watch?v=Rii_6qkLNh8





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
vanessafvg
Community Champion
Community Champion

you will not be able to change the total but what you need to do is understand why your total is wrong.   You need to underststand how dax and power bi works.

 

this video is useful in getting the nitty gritty on it.

https://www.youtube.com/watch?v=Rii_6qkLNh8





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




I tried the measure used in the video and it solved the problem. Results look good so far. Thank you.

selimovd
Super User
Super User

Hey @Justas4478 ,

 

in DAX every calculation is done independently.

So the total is not the sum of the rows above, it's calculated also independent. 

 

How does your measure look like? And where is the difference in the total? How does your data model look like?

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

If I add all numbers together in the Exit Stock Forcast column the sum of them doesnt match the Total shown at the bottom of the table. That is the problem that I am trying to solve. The sum of them is higer than the number shown in the table total at the bottom. The other totals for other columns in the table are good. It is just that column that I dont know how to fix. This is the measure: 

Exit Stock Forecast =
if([Stock On Hand] + [SKU Specific Open POs]- [Stock Forecast] <0,0, [Stock On Hand] + [SKU Specific Open POs]- ([SKU Specific Average Weekly Landed Cost] * [Weeks to Refresh]))

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.