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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to change the Legend presentation

Hi all,

Anybody could help how to present the legend like Qlik Sense in Qlikview?

Qlik Sense:

Qlikview:

Best Regards,

Alan

Labels (1)
4 Replies
abirami_palanis
Contributor III
Contributor III

Hi,

you can present the legend in Qlikview like in Qliksense.

write your expression.

Add one more expression like what you want to display in legend.

Check in value on data points.

Capture.PNG

You can get legend in chart like below

Capture1.PNG

settu_periasamy
Master III
Master III

You can try something like the expression

=Dual(LegendField,Count(Measure))

Check the Attachment

Capture.JPG

effinty2112
Master
Master

Hi,

Settu's response is very good but I suggest you try a small variation of it as well as Settu's suggestion:

=Dual(

LegendField

&

Repeat(chr(13)&chr(10), rank(Count(Measure))-4)

,Count(Measure))

This technique is one I learnt from Stephen Redmond's useful book Qlikview for Developers Cookbook. The repeat function adds carriage returns to your 5th and 6th label and this staggering should make them easier to read.

Not applicable
Author

Thanks to Abirami Palanisamy / settu_periasamy / Andrew Walker.

All your methods work. I can't see any difference between these 3 methods. To me, a rookie of qlikview, Abirami and settu's method is easier to use and understand.