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

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.

Reply
harry_pbi
Frequent Visitor

Dynamic title in chart doesn't reflect selected hierarchy level through Drill down

Hi,

I've got these two measures:

 

 

DateHierarchySelected = 
SWITCH( TRUE(),
    ISFILTERED('Date dim'[Date]), "Date",
    ISFILTERED('Date dim'[Year Week Name ISO]), "Week",
    ISFILTERED('Date dim'[Month Name Short]), "Month",
    ISFILTERED('Date dim'[Year]), "Year", 
    "Hierarchy not selected"
)

 

 

and

 

 

DateHierarchySelected2 = 
SWITCH(TRUE(), 
    ISINSCOPE('Date dim'[Date]), "Date",
    ISINSCOPE('Date dim'[Year Week Name ISO]), "Week",
    ISINSCOPE('Date dim'[Month Name Short]), "Month",
    ISINSCOPE('Date dim'[Year]), "Year", 
    "Hierarchy not selected"
)

 

 

For dynamic title testing I've got:

 

 

DynTitle = "1: " & [DateHierarchySelected] & ", 2: " & [DateHierarchySelected2]

 

 

 

I have each measure in the tooltip of bar chart and I use DynTitle as a title of the chart.

When I use Drill down in the chart, in the tooltip at any bar in the chart each measure shows the correct date hierarchy level, but DynTitle shows different value in the title of the chart, see screenshot below.

Every solution in this forum suggests using formulas I have in my measures, but they dont' work for me, what am I doing wrong?

 

harry_pbi_3-1692264833966.png

Thank you for your help.

H.

 

 

 

 

 

0 REPLIES 0

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.