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
mwen90
Helper III
Helper III

Measures not calculating in table

Hey,

I got one column which has three values which I need to count the totals on. Ie. Total - Pizza, Spaghetti, Ice Cream.

 

I've created 3 measures so I can count the amount of sales and estimates against pizza / spaghetti / ice cream. But when I put it in a table the measures don't add up properly. 

 

I can't create columns because of a depedency. I tried using 'values' and 'hasnofilter' but neither worked.

 

Does anyone have any tips?

 

Thanks!

3 REPLIES 3
mwen90
Helper III
Helper III

Thanks @Dhacd 

 

My equation: 

IF(SUM('Table'[Scheduled]) = 0, [Measure 12], IF(SUM('Table'[Measure]) =0, SUM('Table'[Scheduled]), IF(SUM('Table'[Column 3]) >= 1, [Measure 21] + [Measure 12],if(SUM('Table'[Scheduled]) > [Measure 12]*.8,SUM('Table'[Scheduled]), [Measure 12]))))
 
The number underlined in the table is the only item which is wrong. It is 1839 in total, it should be 2071. The Blanks should be missing as well. 
 
Please note: I am doing a SUMX on the equation above. If I put 'Level' first, the table doesn't calculate. 
Measure 24 = SUMX(SUMMARIZE('Table','Table'[Element], 'Table'[Building], 'Table'[Level]), [Measure 23])
 
mwen90_0-1661684268491.png
 
 
Thanks so much for the help!
mwen90
Helper III
Helper III

Thanks Atma,

 

I tried to copy the data into an excel to demonstrate but it's quiet complex and private. 

 

Can we do a screen share?

 

Cheers,

 

Dhacd
Resolver III
Resolver III

Please share the sample table as well as the measure used.

Regards,
Atma.

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.