Forum Discussion
What's the difference between ALL vs. ALLSELECTED, with formula filter as table vs. column
- Anonymous9 years ago
Hi lilyyan,
I think I found the reason, please take a look at below test steps.
Measure used to display the current row count.
All(Table)/All(Column)/AllSelected(Table)/Allselected(Column) = COUNTROWS(ALL(Dates))&"-"&COUNTROWS(ALL(Dates[Date]))&"-"&COUNTROWS(ALLSELECTED(Dates))&"-"&COUNTROWS(ALLSELECTED(Dates[Date]))
1. Calculate the real count by year filter and quarter filter.
Result: allselected table work, allselected column not work.
2. Test with date slicer.
Result: allselected(table) and allselected(column) works.
3. Test with date slicer and line chart.
In summary, when you use allselected function, you should remember allselected(table) can works on all of its columns, but allselected(column) only works on the slicer with specify column as the source.
Regards,
Xiaoxin Sheng
Hi lilyyan,
I think I found the reason, please take a look at below test steps.
Measure used to display the current row count.
All(Table)/All(Column)/AllSelected(Table)/Allselected(Column) = COUNTROWS(ALL(Dates))&"-"&COUNTROWS(ALL(Dates[Date]))&"-"&COUNTROWS(ALLSELECTED(Dates))&"-"&COUNTROWS(ALLSELECTED(Dates[Date]))
1. Calculate the real count by year filter and quarter filter.
Result: allselected table work, allselected column not work.
2. Test with date slicer.
Result: allselected(table) and allselected(column) works.
3. Test with date slicer and line chart.
In summary, when you use allselected function, you should remember allselected(table) can works on all of its columns, but allselected(column) only works on the slicer with specify column as the source.
Regards,
Xiaoxin Sheng
- lilyyan9 years agoFrequent Visitor
Anonymousthanks for the explanation.
When drilling down into different filter/slicer, it's confused again. The pbix file is shared here.
I renamed all referred measures for better understanding. And then I selected the filters/slicers step by step: Page filter: Year = 2014, 2015, 2016 -> Slicer: Year = 2015 -> Slicer: Date = 8/3/2014-6/28/2015. The results after every step are quite confusing.
And now my main confused point is the difference between **bleep** and All for all-column and allselcted column.
Can u have a check and see why?
- Anonymous9 years agoNot applicable
Hi lilyyan,
In my opinion, I'd like to suggest you to test with single date slicer. I'm not so sure the interaction of multiple slicers and filters if they will affect the measure calculation.
Regards,
Xiaoxin Sheng
- lilyyan9 years agoFrequent Visitor
Hi, Anonymous
I tried with single slicers, exactly same, no change.:mansad: