Forum Discussion
SeletedValue function with Date Filter not displaying properly.
rtaylor wrote:
Posting Fix. This thread solution has not been marked, because we don't have answer to why this change in formula is requiredVar filtername = Calculate(SELECTEDVALUE(BudgetMap[Budget Summary Ovrhead],"OHA Finances"),ALLEXCEPT('Date','Date'[Date]))
What the calculate is doing here is to ignore the filters on the date slicers. Effectively returning the value from [Budget Summary Overhead] for July.
You still have an issue in your data. If you de-select "Labour" when you have "Sep" selected you will notice that the [Budget Summary Overhead] slicers will go completely empty. This is because there is no data for this column for Sep, which is why selectedvalue() is returning blank.
We don't need a model with real data, but if you could supply a sample model with just the 2-3 tables in question and 5-10 made up rows (that still demostrate this problem) we could diagnose the root cause of this issue. Without being able to see the relationship structure and what the data looks like it is really hard to help.