What I'm trying to achieve is to show a YTD value for the previous year if no filters are applied - when filters are applied, I want to see the appropriate values corresponding to the filter selections. This is being displayed in a KPI with 2 measures - the other measure shows CY YTD if no filters are applied and appropriate values corresponding to the filter selections when the filters are used. Now, this does work, for the most part. The problem is that when I select months, quarters, etc. spanning years, the values from the 2 KPIs default back to their YTD values.
Is there a better way to write my initial "if" statement? I'm using calendar measures to define my date filters and my set analysis expressions but am open to writing these expressions differently.