Forum Discussion
ALL DAX function isn't working
Hi all,
I want to create 2 bar graphs. One showing the regional split of sales by shipping method in legends and must respond to the selections in Sub-Category slicer.
And, the 2nd bar graph shows regional split of sales by shiping method in legends and must not respond to the selections in Sub-Category slicer.
The measure for the first bar graph is a simple sum of Sales.
The measure for the second bar graph is as below:
4 Replies
- lbendlinSuper User
is your Sub-Category column sorted by another column?
- AnonymousNot applicable
No, it is used just as it is in the dataset. BTW, this is all just a single table.
- AnonymousNot applicable
If you change the ALL function to the whole table, does this resolve your issue?
i.e. "ALL(Orders)" instead of "ALL(Orders[Sub-Category])"
I'm wondering if you have some filtering on other columns that need to be removed from the context.
- AnonymousNot applicable
Hi Ross, Thanks for your response. I tried your sugestions, but it didn't seem to work. The aforementioned issue persists. There are no known filters as you can see in the attached image.
link to Dataset is HEREif you wish to have a go. I'm trying to recreate a report that has been done on Tableau.
It was pretty straight forward on Tableau.
Any help is appreciated.