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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
rustyfishbones
Master II
Master II

Using Concat Aggr in a Heatmap

Hi All,

I have the following expression

=Concat(Customer & ' - ' & Num(Aggr($(e.tickets), Customer), '#,##0'), chr(10), -Aggr($(e.tickets), Customer))

Which returns the correct number of tickets for each Customer, However when I add to a heatmap and hover over the day, it will not display the Qty's for each Customer, any ideas.

2018-01-04_1435.png

if I add the above expression in a text object it works fine

2018-01-04_1436.png

Labels (1)
13 Replies
sunny_talwar
MVP
MVP

Sounds good

rustyfishbones
Master II
Master II
Author

Please the attached file, still early stages, have decided on design yet

sunny_talwar
MVP
MVP

Try this

=REPEAT(CHR(13),2) & REPEAT('-',10) & chr(13) &  $(e.tickets) & ' Tickets Created' & CHR(13) &

Concat(DISTINCT If(Len(Trim(Aggr($(e.tickets), Customer, Year, Weekday, Week))) > 0, Customer & ' - ') & Num(Aggr($(e.tickets), Customer, Year, Weekday, Week), '#,##0'), chr(10), -Aggr($(e.tickets), Customer, Year, Weekday, Week))

rustyfishbones
Master II
Master II
Author

Perfect