Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Dynamic Year Measure

Jolly Day, I currently have my visual set to just give me year 2021. I am wanting it to automatically update go two years back so I need it set to year 2022 when we begin year 2024. Is there a way...
  • wdx223_Daniel's avatar
    3 years ago

    try to do this

    1 create a new measure

        Filter_DateTable_Year=IF(MAX(DateTable[Year])=YEAR(TODAY())-2,1,0)

    2 add this measure to page filter, and filter the values equal to 1