Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
fabdulazeez
Partner - Creator III
Partner - Creator III

Qlik Sense Map Chart Layer tooltip not working

 

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.

fabdulazeez_0-1736925126850.png

 

Labels (2)
5 Replies
diegozecchini
Specialist
Specialist

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.

fabdulazeez
Partner - Creator III
Partner - Creator III
Author

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.

diegozecchini
Specialist
Specialist

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..

fabdulazeez
Partner - Creator III
Partner - Creator III
Author

 

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.

diegozecchini
Specialist
Specialist

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.