Forum Discussion
Dynamic Axis Titles & Tooltip Additions
- Anonymous4 years ago
Hi stealth_66 ,
1. I already have a measure for the Title based on concatenation of selected values from Unit Type selection
So you have successfully used =SELECTEDVALUE(MergedTermData[Unit Type]) and applied it to Title field, right?
2. But I'm confused about the axis label from in the axis label the "# of ***" based on the selected value of -App or -Enr.
Where you need to put it in? Please show us your expected output by using some screenshots.
Best Regards,
Eyelyn Qin
Hi stealth_66 ,
Please modify:
Axis Label - Switch =
var _right=RIGHT(SELECTEDVALUE(MergedTermData[Unit Type]),4)
return
SELECTEDVALUE(MergedTermData[Unit Type]) & SWITCH(_right,"-App", "# of Applicants","-Enr", "# Enrolled")
And sorry agin🤔, I'm not clear about your tooltip issue, could you please show me the expected output?
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Eyelyn9, the code didn't work. Thank you though.