Forum Discussion

lallac's avatar
lallac
Frequent Visitor
2 years ago

Getting the max month selected not working properly

Hello everyone, 

I need a formula that returns the maximum month among the selected ones. 

In my file, I have data up until April. I tried using

MAX(ANAG Months [Months]) 

and

MAXX(ALLSELECTED(ANAG Months [Months]), ANAG Months [Months])

but they all give me back "March", even when I select April or May. 

I don't understand what I'm doing wrong. I would appreciate your help!

 

 

2 Replies