Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
Thank you for your help.
H.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |