Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
17 | |
10 | |
10 | |
8 | |
6 |
User | Count |
---|---|
18 | |
16 | |
15 | |
12 | |
10 |