Forum Discussion
sdgiss
5 years agoHelper I
Maintaining filter context after applying ALL function
First off, let me state that I am very new to DAX. The question I have relates to maintaining filter context after applying the ALL function to create a new measure. The new measure identifies the...
- 5 years ago
sdgiss just adding a if function in your measure
Max Speed All Dates = IF([Daily Max],CALCULATE ( MAX ( fData[Max Speed] ), FILTER ( ALL ( dDate ), dDate[Date] ) )))
amitchandak
5 years agoSuper User
sdgiss , Try like
Max Speed All Dates = CALCULATE ( MAX ( fData[Max Speed] ), FILTER ( ALL ( dDate ), dDate[Date] ) ,not(isblank(fData[Max Speed] )) )