Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

ALL FUNCTION HELP

Hi All,

 

Im in the learning path of DAX...i have read about ALL() and below is my observation

* Acts like a filter modifier
 *Gives distinct value when used with column name 

*Gives combination of values when used with table name

*It ignore the external filter like visual/Slicer and impose the internal filter

 

However when i was doing practicals im confused how the ALL function is behaving

Numeratr = sum('Order Details'[Sales])
Denominatr = calculate(sum('Order Details'[Sales]),all('Orders'))
Numoverden = divide([Numeratr],[Denominatr],0)

 

My question is why is it ignoring filters on Lastname column when it is no where mentioned in a measure?

 

Below is the relationship model

 

 

Regards,

HB

 

5 Replies