Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
gah113
Advocate I
Advocate I

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 2
gah113
Advocate I
Advocate I

@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:

gah113_1-1625061073124.png

 

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.

Pragati11
Super User
Super User

Hi @gah113 ,

 

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

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.