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: 
Not applicable

Label graph with many Dimensions without Legend

Hello

In contrast to How to show legend/data label directly in chart area?, I want to label many Dimensions on the graph, instead of having a Legend. I tried all codes mentioned on forums, but not getting desired results.

Thanks!

Labels (1)
3 Replies
rwunderlich
MVP
MVP

Modify your expressions to be Dual() like this:

=Dual('Attribute 2',[Attribute 2])

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

Not applicable
Author

Hello Rob

Thank you for helping me out.

It worked for Attribute 2 & 3.

As for Attribute 1 (line chart), I am trying to write the following:

=dual(if(DATE=max(DATE),'Attribute1',''),[Attribute 1]) .

But if is labeling each data point with 'Attribute1', instead of labeling just the last one.

rwunderlich
MVP
MVP

=dual(if(DATE=max(TOTAL DATE),'Attribute1',''),[Attribute 1]) .