Forum Discussion
Penn
Resolver I
7 years agoHow to write this measure in DAX?
Hi all, I have a table [Opportunity History] that looks like this and I have independent date table 'Calendar'. How do I create a measure that return the last stage at each month end (with a mont...
- 7 years ago
amitchandak
Super User
7 years agoStage EOM = CALCULATE(MAX([Stage]), FILTER(all('Opportunity History'), 'Opportunity History'[Date Time] <= MAX('Calendar'[This Month End])))
Try All. Also I think it should be = not <=