Forum Discussion
bboobe
Helper I
6 years agoHelp - DAX Measure for Dynamic Chart Title with DrillDown
Dear Experts,
I am trying to create the below measure but it is not working.
Measure -
Test Chart Title =
Var MonthPart = SELECTEDVALUE('Time Day'[Month_Year],"Current Month")
Var Geography = IF(
ISFILTERED('PS Location'[COUNTRY],
SELECTEDVALUE('PS Location'[COUNTRY]), "" )
return
"Country Wise" & Geography & MonthPart
Geography is not returned in this measure. Please help.
Try this
Test Chart Title = VAR MonthPart = SELECTEDVALUE ( 'Time Day'[Month_Year], "Current Month" ) VAR Geography = IF ( ISFILTERED ( 'PS Location'[COUNTRY] ), SELECTEDVALUE ( 'PS Location'[COUNTRY] ), "" ) RETURN "Country Wise" & Geography & MonthPart
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂
2 Replies
- nandukrishnavs
Community Champion
Try this
Test Chart Title = VAR MonthPart = SELECTEDVALUE ( 'Time Day'[Month_Year], "Current Month" ) VAR Geography = IF ( ISFILTERED ( 'PS Location'[COUNTRY] ), SELECTEDVALUE ( 'PS Location'[COUNTRY] ), "" ) RETURN "Country Wise" & Geography & MonthPart
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂- bboobe
Helper I
nandukrishnavs It Worked!! Awesome, Thanks!