Forum Discussion
Adding units to a tooltip
Hello,
I'm trying to make my graphs as clear as possible. To do so, I'd like to display units inside the tooltip for both the plotted value and extra fields as can be seen here : https://ibb.co/dkXGwfz .
If I use the format function to add the unit, I can alter the extra fields, but my measure itself becomes a text and thus cannot be plotted anymore.
Any ideas ?
3 Replies
- gelQ0Frequent Visitor
Thanks, but this is not very easy to read, especially with multiple units.
- v-lili6-msftCommunity Support
HI gelQ0
To my knowledge, the best way is use format function to add the unit, and measure itself will become a text.
So you could use the format to add a measure with unit based on basic measure.
For example:
New measure=FORMAT(<Your current measure>,"result")
Now, use this New measure in the visual, and use <Your current measure> when you plot in other.
Regards,
Lin