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] ) )))
Anonymous
5 years agoNot applicable
sdgiss Hey Mate ,
You can try this .
Max Speed All Dates = if(HASONEVALUE(dDate[Date]),
CALCULATE ( MAX ( fData[Max Speed] ), FILTER ( ALL ( dDate ), dDate[Date] ) ),Blank() )
Max Speed per Racer =if(HASONEVALUE(dRacerDetail[Racer]), CALCULATE(MAX(fDataReference[Max Speed] ),Blank() )
Try this and let me know
You can use this as well.