Forum Discussion

gah113's avatar
gah113
Icon for Advocate I rankAdvocate I
5 years ago

Personalized Visuals - Updating Visual Title

I am using Personalized Visuals in Power BI to offer users the opportunity to swap measures in report visualizations:

 

I would like to create a DAX function which outputs a string of the format "{SELECTED_MEASURE} Data Summary". This would be used as a custom title which would change when the user updated the measure in the visual using Personalize Visuals.

 

I have previously used functions like SELECTEDVALUE() to do this with filter selections. Now I want to reference the name of the measure which is in focus.

1 Reply

  • v-janeyg-msft's avatar
    v-janeyg-msft
    Icon for Community Support rankCommunity Support

    Hi, gah113 

     

    I'm afraid not. Whether measure name or column name can only be used in dax, but the name can't be output in visual. You can only write a measure to express the name you want to display.

    Like: if(selectedvalue()="","measure name1","measure name1")

     

    Best Regards

    Janey Guo

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.