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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
alanoec
New Member

Measure shows three different numbers when the filters are the same

Hi guys, 

I've encountered an issue that I am stumped on. The column TEU BY VESSEL is a measure:

= CALCULATE([TOTAL TEU],ALLEXCEPT(VV,VV[World Region by Place of Receipt],VV[VV])). 

When I display it, there should only be 1 number: 10,027, but there are 3 numbers: 10,027, 5,384, and 4,643. 

5,384 and 4,643 add up to 10,027 so I am confused on why that is the case here. 
 
alanoec_0-1633034147588.png

Thank you!

1 ACCEPTED SOLUTION
smpa01
Super User
Super User

@alanoec  can you try the following

CALCULATE([TOTAL TEU],ALLEXCEPT(VV,VV[VV]))

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

View solution in original post

6 REPLIES 6
smpa01
Super User
Super User

@alanoec  can you try the following

CALCULATE([TOTAL TEU],ALLEXCEPT(VV,VV[VV]))

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

@smpa01 

Thank you for this suggestion. Upon using your formula, I see that the total value is 10,901 which was higher than the total amount. So I went looking into the data and saw that the region filters are the reason why its giving three numbers. 

Loader A only loads from region 1: SUM is 5384.
Loader B only loads from region 2: SUM is 4643.
Loader C loads from regions 1 and 2 so SUM is 10,027. 

Thank you so much for the suggestion and sorry for the late reply!

themistoklis
Community Champion
Community Champion

@alanoec 

Can you try the following formula and see what it returns?

 

= CALCULATE([TOTAL TEU],ALL(VV)). 

@themistoklis Thank you for replying!

the answer is consistent for all columns. 

alanoec_0-1633036291024.png

 



@alanoec 

What is the formula that you use for this measure?

[TOTAL TEU]

 

If you could share the file with us that would help. 

@themistoklis 

The formula for total TEU is = 

SUM(VV[Teus]). 

Unfortunately, there is a restriction for me sharing the file. 

However, there's also the issue of the table visualization and card visualization showing different values for the same measure. filters are the same.
alanoec_0-1633039334368.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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