Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Dynamically display selected hierarchy level in chart title

When you create a bar chart with a hierarchy assigned to the x-axis, the automatically generated chart title reflects the hierarchy level selected by the user. 
I have not been able to create this functionality with a custom chart title.

The only DAX measure that could provide this information seems to me to be INSCOPE().

But that only works for the chart elements themselves. 


It seems that there is no hierarchy context for the chart title. This is true in a way and I understand the logic behind it.

But still, the automatic title reacts to the chosen hierarchy. 


Why is this not carried over to the context of the diagram title to enable custom titles that reac to the chosen hierarchy level?

Is there another idea or measure that does the trick?


Super User
Super User

@matthiashh ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.



refer this

Hi. I'd like to provide an example. But cannot figure out how to upload it here ... 

Hi @matthiashh ,

You could share your file on a  public link,remember to remove confidential data.



Best Regards


Helpful resources

Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors