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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
joshua1990
Post Prodigy
Post Prodigy

False SUM for result of DIVIDE

Hello everbody.

 

I have two tables. The first one shows me the planed value per item. The second one shows me the size per item.

Now I want to divide the plan per size.

Unfortunately, I get a false sum for a higher granularity (as you can see):

AreaArticlePlanBatchsizePlan / Batchsize
S22 194390834412,329670066
 A127770138852
 A213885138851
 A397195138857
 A4 14016 
 A5 13885 
 A655540138854

 

There should be 14.

 

How can be that avoided?

2 REPLIES 2
JarroVGIT
Resident Rockstar
Resident Rockstar

I am not sure how you get this table as you show in your post (is it a new calculated table or are you merging the two tables using M?) 

What is important to note that when this is a representation of a Table visual (or a Matrix visual), that measures are evaluated also on the total row (in this case, your first row, indicating the whole of Area S22). 

I think I can help you better if you share your use case in a bit more detail, including some screenshots of your datamodel and what you are trying to achieve. 🙂

Let me know!

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂

 





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

Proud to be a Super User!




edhans
Super User
Super User

The problem seems to be your model. You have a blank row, which tells me there are values in one table for the Article field and not the other. So your measure is not filtering by Article for that blank, but just for S22, and summing all values.

 

I'd need to see your two tables, the data, and the relationship column being used to help more, but maybe I've given enough info for you to move forwards for now.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.