Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Editing Tooltip: help required

Hi All,

I am showing some data in a line chart. I am showing sum of profit over different fiscal weeks. The customer wants to show date along with weeks in the tooltip. Since Date is neither of expression or dimension, therefore, it is not shown by default. How can I edit the tooltip to show the date also in tooltip

Thanks for your help

Regards

Arif

9 Replies
pgalvezt
Specialist
Specialist

Could you please put an example?

Not applicable
Author

its simple. On x axis we have weeks, and on y axis we have the sum(profit) expression. Now by default, if you put the mouse over data point, the tooltip shows the week number,and proft for that week. My customer also wants to show the weekending date associate to that week on tooltip. I wonder if there is any way to add some more information to the tooltip of data point on a chart. This is a line chart

Regards

Arif

pgalvezt
Specialist
Specialist

Hi, add in script this:

WeekEnd(Field) as EndWeek,

Will give you endweek.

Not applicable
Author

My problem is not how to get weekend. I already have this field. I only need to add this info to the data point on chart. The question is simple. How to add information from other dimensions(which are not being used in graph) to the default tooltip on data point on a chart

Regards

Arif

pgalvezt
Specialist
Specialist

I hope this will give you an idea. If not let me know.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Add the date as an additional expression. In the Display Options for this expression, uncheck "Symbol" and "Line". Check "Text as Popup".

-Rob

Not applicable
Author

Hi Rob,

I tried this option but seems like it not showing anything in popup, can you please help me out here.

Thanks in advance.

Not applicable
Author

I got the solution, I was actually using line chart which doesn't support this tip, so i made chart type to combo and it worked

sampada0810
Creator
Creator

Hi Vutukuru,

Do you mean custom tool tip does not work on line chart?

Because I have to achieve this on Line chart itself and have no option to change the chart type.

Can it be done???