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 Get the Year Wise Comparisons In Charts

Hi Community Members,

I want to compare the sum (sales) with previous Year  in chart, i.e when I select a 2006,it should be display chart with 2007  and 2006 years data in a chart.Thanks in advance.

Regards

Rams

Labels (1)
2 Replies
christophebrault
Specialist
Specialist

Hi,

set month as a dimension and then 2 expressions :

sum({$<Year={$(=Max(Year))}>}Sales) // the year selected

sum({$<Year={$(=Max(Year)-1)}>}Sales)// Past Year

Inscrivez vous à ma Newletter Qlik
DoNotMissQlik- Connect with me on Linkedin
Not applicable
Author

Thanks christopher ,I got in bar charts ,but I am unable to get it in Guage charts.Can you help me please

Regard

rams