Forum Discussion

gah113's avatar
gah113
Advocate I
5 years ago

Getting Measure Names from Visual

I'm using personalized visuals in some cases, but I'd like to update the title of my visual based on the selected VALUE/AXIS fields.

 

Are there any DAX methods to get the VALUE & AXIS fields for the visual in scope?

2 Replies

  • Hi gah113 ,

     

    Please add more details like screenshots on your query and required output. This short description doesn't help much.

     

    Thanks,

    Pragati

  • Pragati11I'm asking for help writing the query.

     

    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.