Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have chart data formatted as time. In the tooltip for the chart layer, the formatting is not applied, but when the same measure is added as a custom tooltip, it displays correctly.
Hi
try to explicitly format the measure in the map layer tooltip expression. For example:
=Time(Floor(YourMeasure), 'hh:mm:ss')
Replace YourMeasure with the actual measure used in the tooltip.
Since this is a chart layer, I cannot explicitly add the tooltip measure for each dimension. The data displayed corresponds to the measure used for the color.
Hi
If the tooltip is tied to the color measure, you can use the same formatting function directly in the color expression. For instance:
ColorExpression = Time(Floor(YourMeasure), 'hh:mm:ss')
This way, the formatted value is used both for the color and the tooltip.
Another idea is alternative formatting with Dual(), u could show formatted and raw values simultaneously in tooltips, you can use the Dual() function:
Dual(Time(Floor(YourMeasure), 'hh:mm:ss'), YourMeasure)
This will maintain the numeric value for calculations but display the formatted time in the tooltip.
Don't know if helps..
Yes, I’ve done the same, but the format in the basic tooltip isn’t working. The legend, however, displays the correct format. It seems like it might be a bug. I’m trying to figure out if anyone has found a workaround for this.
It really seems like a tough dilemma; I'm sorry, I don't know how to help you. However, I'm interested if anyone has an idea.