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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Nicki
Helper III
Helper III

Dynamic Titles in Power BI

Hello,

I  have 50 charts that they need to have dynamic titles.

I created an Excel file with all titles, and the file can be updated by customers any time.

Then I imported all titles to a table ( table1 ) in Power BI.

After that, I created one measure for each title and get value for each title from table1.

The only thing , I do not like this soution, I need to create one measure for each chart.

Is there any better soution?

Thanks

Nicki

2 ACCEPTED SOLUTIONS
edhans
Super User
Super User

You need 1 measure per visual if the titles are calculated differently. But if there is a pattern to how it is done, you may be able to script the measures using Tabular Editor. If you are going to do this a lot, then take a look at some of these scripting examples.


If it is a one time thing, or you need to get this published, doing the 50 measures manually will be faster. 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

Greg_Deckler
Community Champion
Community Champion

@Nicki - With some fancy DAX you may be able to have less than 1 measure per chart but not enough information to go on. For example, this dynamic title measure demonstrates how you could potentially have a very dynamic title measure that understands the context it is in and returns values accordingly. https://community.powerbi.com/t5/Quick-Measures-Gallery/The-Most-Amazing-Mind-Blowing-Dynamic-Slicer...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

5 REPLIES 5
Nicki
Helper III
Helper III

I apperciate your responses.

Both soutions are good but there is no pattern for my titles and I will go to create a measure for each titles.

Thanks

Nicki

Sorry we couldn't be of more help @Nicki - but sometimes the solution isn't possible.

 

Kudos are appreciated for any posts that helped (the thumbs up) but please mark something as the solution so this thread can be marked as solved - even when the solution is "there is no perfect solution. " 🙁




Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
Greg_Deckler
Community Champion
Community Champion

@Nicki - With some fancy DAX you may be able to have less than 1 measure per chart but not enough information to go on. For example, this dynamic title measure demonstrates how you could potentially have a very dynamic title measure that understands the context it is in and returns values accordingly. https://community.powerbi.com/t5/Quick-Measures-Gallery/The-Most-Amazing-Mind-Blowing-Dynamic-Slicer...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
edhans
Super User
Super User

You need 1 measure per visual if the titles are calculated differently. But if there is a pattern to how it is done, you may be able to script the measures using Tabular Editor. If you are going to do this a lot, then take a look at some of these scripting examples.


If it is a one time thing, or you need to get this published, doing the 50 measures manually will be faster. 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

I apperciate your response.

It can be a soution if you have a pattern for titles.

There is no pattern for my titles and I am using my soution.

Thanks

Nicki

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors