Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
Solved! Go to Solution.
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.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting@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...
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. " 🙁
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting@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...
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.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingI 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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!