Forum Discussion
Syndicate_Admin
3 years agoAdministrator
Monthly variation
Good afternoon I would like to know how I can modify or create the measure to let me see the monthly variation with the previous month, currently I can see it this way but when making a filter of a different month it does not make the comparison, example if I select November 2022 and February 2022 I will not make the variation since it would not be the previous month I use these formulas:
1 Reply
- PadycosmosSolution SageThis is a calculation on an Year column. You may try using it for the month column with suitable modificationsCY-PY% =var CY=sum('Table'[Applications])var PY= calculate(SUM('Table'[Applications]),FILTER(ALL('Table'),'Table'[Year]=MAX('Table'[Year])-1))var difference = CY-PYRETURNIF(PY<>0, DIVIDE(difference,PY),0)