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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register 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!

3 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/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
Partner Ambassador/MVP
Partner Ambassador/MVP

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