Forum Discussion
Wattar
6 years agoHelper I
Help with calculate
Hello,
I am trying to calculte a measure using this formula:
Cible N+1 =
VAR ANNEE_N1 = MIN(Effectif0[Année])+1
RETURN
CALCULATE(SUM(SC[Effectif Cible]);'Dim_Années'[Année]== ANNEE_N1)
where ANNEE_N1 = 2021, the calcuation is correct, but the result appears only in front of the year 2020, any ideas why?
Thank you for help.
4 Replies
- amitchandakSuper User
Wattar , try like
Cible N+1 =
VAR ANNEE_N1 = MINX(Effectif0,Effectif0[Année])+1
RETURN
CALCULATE(SUM(SC[Effectif Cible]);'Dim_Années'[Année]== ANNEE_N1)