Forum Discussion
rmcgrath
1 year agoAdvocate III
Dynamic X-Axis Title in a Line Chart
Is it possible to create a dynamic X-Axis title when I am using a Parameter for the X-Axis? I tried creating a DAX measure to put into a Card and have that below the Line Chart. The idea being when a user makes the Parameter Slicer selection, the title in the card would change as well. Here is what I've tried but it errors out:
SCREENSHOT:
ERROR:
DAX code for the X-Axis Title Card:
XaxisTitle = IF(SELECTEDVALUE('X-axis'[X-axis])="AGE","Age (Weeks)",IF(SELECTEDVALUE('X-axis'[X-axis])="WEEKS","Weeks",""))
1 Reply
- ArulSuper User