Forum Discussion
Saye
3 years agoFrequent Visitor
Default current Year
I have a table called Sales and Calender. When the year is selected from the slicer it should show the selected year values, if not should show the default current year. For example, if I select 20...
Saye
3 years agoFrequent Visitor
Thank you Anthony,
Here is the DAX quey.
Selected Year =
IF (
ISFILTERED (Calender[date_id].[Year]),
YEAR(DATE(MAX(Calender[date_id].[YEAR]),1, 1)),
YEAR(TODAY())
)
I use this DAX, it was wroking fine but now its not working. Here is the screenshoot.
AnthonyGenovese
3 years agoResolver III
So what should it be showing?