Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello
I want to calculate the week to week evolution
Can you help me to solve this issue please ?
Solved! Go to Solution.
@yamina , Try below mentioned measure
DAX
evol semaine =
VAR _CurrentWeekCases = CALCULATE(COUNT('Fichiers Sources'[num_dossier]), 'Calendrier'[Semaine ISO] = MAX('Calendrier'[Semaine ISO]))
VAR _PreviousWeekCases = CALCULATE(COUNT('Fichiers Sources'[num_dossier]), 'Calendrier'[Semaine ISO] = MAX('Calendrier'[Semaine ISO]) - 1)
RETURN
_CurrentWeekCases - _PreviousWeekCases
Proud to be a Super User! |
|
@yamina , Try below mentioned measure
DAX
evol semaine =
VAR _CurrentWeekCases = CALCULATE(COUNT('Fichiers Sources'[num_dossier]), 'Calendrier'[Semaine ISO] = MAX('Calendrier'[Semaine ISO]))
VAR _PreviousWeekCases = CALCULATE(COUNT('Fichiers Sources'[num_dossier]), 'Calendrier'[Semaine ISO] = MAX('Calendrier'[Semaine ISO]) - 1)
RETURN
_CurrentWeekCases - _PreviousWeekCases
Proud to be a Super User! |
|