Forum Discussion
Bratone
3 years agoHelper I
Values depending on date comparison
Hello, I have a situation where depending on the date, I need to take into account one value or another. More pricesely, when rating a person, if the date is > than his promotion date I need to t...
- 3 years ago
Bratone , Try like
Averagex(values(Date[Month Year]), calculate(IF(MAX(Calendar[Date])<[Promo_date],[Criteria 1,[Criteria 2])) )
amitchandak
3 years agoSuper User
Bratone , Try like
Averagex(values(Date[Month Year]), calculate(IF(MAX(Calendar[Date])<[Promo_date],[Criteria 1,[Criteria 2])) )
Bratone
3 years agoHelper I
Thank you so much for your fast answer, is working as it should now: