Forum Discussion
wad11656
Advocate I
4 years agoALLSELECTED: Selecting the *wrong* column filter gives the *correct* result? (in CALCULATE function)
This formula gives the following result: Furniture Total = CALCULATE([OPC Total], ALLSELECTED('MyTable'[OPC])) Furniture Total = Add line items with matching Company names: Company1: $32,494...
- Anonymous4 years ago
Hi wad11656 ,
ALLSELECTED removes filter from the selected column of a table.
In your 1st example you removed filter of the [OPC] column, hence only the company filter was active.
In your 2nd example you removed filter of the [Company] column, hence only the OPC filter was active
Hope that helps
BR
Anonymous
4 years agoNot applicable
Hi wad11656 ,
ALLSELECTED removes filter from the selected column of a table.
In your 1st example you removed filter of the [OPC] column, hence only the company filter was active.
In your 2nd example you removed filter of the [Company] column, hence only the OPC filter was active
Hope that helps
BR
wad11656
Advocate I
4 years agoSo the word "filter" really means "filter OUT". Got it. Thanks!