Forum Discussion

Akakaboto's avatar
Akakaboto
Regular Visitor
2 years ago

Dynamically change Measure Title based on slicer

In above table I have a column with Estimate
Estimate =
VAR _ScenarioSELECTEDVALUE ( dimScenario[Scenario] )
RETURN
    CALCULATE (
        [CurrencyPeriodic],
        ALL ( Scenario ),
        Scenario[Scenario 02] = _Scenario
    )
Based on which Scenario is selected in my slicer (currently E3, E5, E9 E11) it of course shows the Estimate for that Scenario. (I prefer to do it this way instead of creating a measure for each scenario and then use an additional switch measure to toggle between them as it greatly reduce the number of measures in my report).
 
What I would like to know is if I could dynamically change the column name to display Est E3, Est 5, Est 9 or Est 11 based on the slicer selection instead of just Estimate? Any Suggestions?