Line chart represents counts for each year based on year slicer. Which is works fine.
However, when selecting multiple years on a slicer, line chart does not display anything.
Is any way to make it display multiple lines based on multiple selection on a slicer?
Measure :
Total Submitted Test =
IF(SELECTEDVALUE(dim_Date[Year]) = 2017, CALCULATE([Total Submitted],dim_Date[Year] = 2017),
IF(SELECTEDVALUE(dim_Date[Year]) = 2018, CALCULATE([Total Submitted],dim_Date[Year] = 2018),
IF(SELECTEDVALUE(dim_Date[Year]) = 2019, CALCULATE([Total Submitted],dim_Date[Year] = 2019),
IF(SELECTEDVALUE(dim_Date[Year]) = 2020, CALCULATE([Total Submitted],dim_Date[Year] = 2020)
))))
Expected result:
UPDATE
Not using any legends. But still, when selecting multiple years only 1 line displays.
[Total Submitted]
measure with Year in the Legend box? – Alexis Olson