Forum Discussion
sdgiss
Helper I
5 years agoMaintaining 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
Super User
5 years agosdgiss , Try like
Max Speed All Dates = CALCULATE ( MAX ( fData[Max Speed] ), FILTER ( ALL ( dDate ), dDate[Date] ) ,not(isblank(fData[Max Speed] )) )