Forum Discussion
setis
5 years agoPost Partisan
Last selected year
Hi!
I have a year slicer from the column Year in my Date table, in which I select 2018, 2019 and 2020.
I am trying to capture in a variable the last year (2020).
I was trying this, but is wrong.
VAR DataMaxYear = MAX ( YEAR(SELECTEDVALUE('Date'[Date]) ))
Thank you in advance!
1 Reply
- PC2790Community Champion