Forum Discussion
GilesWalker
Skilled Sharer
10 years agoSet a filter based on MAX
Hi Everyone, I have tried a number of different equations and have looked through Google to no avail. I have some data I need to be able to filter based upon the maximum number in a column, howev...
- 10 years ago
GilesWalker - Try switching your ALL to an ALLEXCEPT in order to preserve the Train ID context filter:
max = CALCULATE(MAX(Train_Movements[sequence]),ALLEXCEPT(Train_Movements,[Train id]))
Greg_Deckler
Community Champion
10 years agoGilesWalker - Try switching your ALL to an ALLEXCEPT in order to preserve the Train ID context filter:
max = CALCULATE(MAX(Train_Movements[sequence]),ALLEXCEPT(Train_Movements,[Train id]))
GilesWalker
Skilled Sharer
10 years agoGreg_Deckler - I found this page which described it well:
https://msdn.microsoft.com/en-us/library/ee634795.aspx
Thansk again.
Giles