- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Working with totals
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-06-2018 06:48 AM - edited 12-06-2018 06:50 AM
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.
Measure 3.1 below works fine as it shows 1269 even when if I only choose cheap and same which is correct
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.
Please can someone assist? Apologies if i have confused you all!
Re: Working with totals
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-06-2018 10:51 AM
Hi @daxing
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
Re: Working with totals
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-06-2018 04:28 PM
Re: Working with totals
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-21-2018 01:57 AM
Hi @daxing,
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
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.