Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
agigliotti
Partner - Champion
Partner - Champion

custom tooltip on chart object doesn't works

hi all,
I'm trying to use the new useful feature of "Custom Tooltip" available for several chart objects.
I noted that even if the measure is correct I always get null as result.

Is this a known bug?

Please let me know.

Best regards
Andrea

Labels (1)
1 Solution

Accepted Solutions
agigliotti
Partner - Champion
Partner - Champion
Author

Hi,
The issue has been fixed with the latest release.
Best Regards
Andrea

View solution in original post

9 Replies
_CD_
Contributor III
Contributor III

Hi ,

I've no answer if it's a knowned bug. But I've notice this :

A syntax like this works fine :
sum({<Field1={'xxx'}>} Kpi)

But don't works when added $ or 1 on the set analysis :
sum({$<Field1={'xxx'}>} Kpi) or sum({1<Field1={'xxx'}>} Kpi)

Seems like a bug for me.

lironbaram
Partner - Master III
Partner - Master III

hi 

due you use calculated dimension , 

i've noticed this might be an issue with the custom tooltip 

JMoreno
Contributor III
Contributor III

Hello, 

Same here! 
I'm trying to use it on a bar chart, adding one extra measure, and it always shows null, but the measure is correct. 

Any ideas? 

Thank you, 

Julia

lironbaram
Partner - Master III
Partner - Master III

hi 

does your bar chart use calculated dimension ?

JMoreno
Contributor III
Contributor III

Hello, 

No, it uses an expression that includes the p() function. 
It works fine when there are no selections on the chart, but when I make a selection, all the values displayed (included in the p() function) display the value of the selection. 

Example: Measure =min{< Region=p(Region)>} year. 
 
Each value (cities, in this case), display their year in the tooltip. When I select cityXY, I see all the cities in that region. But now all the cities display the year of cityXY in their tooltips. 

I believe it must be a bug, but any help is appreciated. 

Thank you

AG726948
Contributor
Contributor

Yes, I am also facing same issue with Apr 2020 version.

  • We have bar chart with simple Measure and Calculated Dimension (based on selection, Dim filed need to be changed) and we are trying to show custom Tooltip on bar.
  • So, when we use IF (GetSelectedCount([xyz])>=1, [abc],[pqr] )  condition for dynamic Dimension filed in bar chart, chart works fine with this dim and measure but unable to see Tooltip value (Expression for tooltip: count( Distinct [xyzID] )). Its showing error in Tooltip as Error: Error in set modifier expression
  • But in same case when we use simple [xyz] or [pqr] filed in Dimension we are able to see Tooltip value

Not sure where is the issue/what was the issue or Is this a known bug?

timmy
Partner - Contributor III
Partner - Contributor III

Any news on this topic?

agigliotti
Partner - Champion
Partner - Champion
Author

Hi,
The issue has been fixed with the latest release.
Best Regards
Andrea

Andrew_S
Contributor II
Contributor II

I have a similar ish problem. I've got a relatively common chart showing Current Year vs Prior Year. The Chart Dimension is Month and the allocation of year is all handled via set analysis so that I can get a rolling 12 month view.

 

I'd like it so that when someone hovers over the bar instead of seeing "CurrentYear_R12" they actually see the phrase "Aug 2022" and the value.

 

I've tested this for the Tool Tip Title / Description and they both pull through "Aug" but When I try referring to the Month in the Measure I get an error. Is this not possible? I feel like it should be. It's smart enough to take the Month Dimension into account when calculating, so why can I not use it in my Tool Tip Measure Title.

 

Andrew_S_0-1685521876980.png