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
Anonymous
Not applicable

Working with totals

Hi all, new here and stuck at a situation where I cant figure out how to solve it.

I have a table with the following values, as you would see, the total is 1269. I have created another mesure called "3.1 Total of all status" to calculate the total irrespective of my filter to choose between cheap, same or expensive. So if I choose only cheap, the total in the table will ofcourse show 1026 and my measure would be 1269.

Now the problem is that, if I EXCLUDE cheap and only select same and expensive, my measure shows the total as 1266 which is incorrect, as it should be 1269 irrespective of the filter. Basically its excluding the cheap for MacKay as there are no other values for it from the grand total which I dont want it to do.

 

Here is an example:

 

No filters selected.

 

1.PNG

Measure 3.1 below works fine as it shows 1269 even when if I only choose cheap and same which is correct

 

2.PNG

But now when I choose expensive and same, my measure shows the value as 1266 which is not correct as its also exluding the 3 cheap for MacKay from the total. 

 

3.PNG

 

Please can someone assist? Apologies if i have confused you all!

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Anonymous,

 

Please use ALL in the formula of "3.1 Total of all status". For more advice, please post the DAX formula you used for 3.1 Total of all status. And it would be better you could share the sample .pbix file for check.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yulgu-msft
Employee
Employee

Hi @Anonymous,

 

Please use ALL in the formula of "3.1 Total of all status". For more advice, please post the DAX formula you used for 3.1 Total of all status. And it would be better you could share the sample .pbix file for check.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AlB
Super User
Super User

Hi @Anonymous

 

Can you please share the pbix file so that people can try to find out what the issue is? It's a bit hard without seeing the code for your measures for instance

Anonymous
Not applicable

Sure, I will do so as soon as I get back from work. Thanks

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.