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

Month comparesion

i have 12 months data for sales, pages,visit,view .

i want to show comparesion between months

like when user select march , chart will show data for march as well as feb only two monts at a time.

i need help ,how to show this in chart.

Labels (1)
1 Solution

Accepted Solutions
masha-ecraft
Partner - Creator
Partner - Creator

If you have only one month selected then sum(Sales) shows sales for that selected month. If nothing is selected then Sum(Sales) is your total sales.

View solution in original post

5 Replies
masha-ecraft
Partner - Creator
Partner - Creator

Make a chart with two expressions: sum(Sales) for the selected month and sum({<Month=Month-1>} Sales) for the previous month.

Not applicable
Author

i want to know how to calculate sales for selected month,if i give expression sum of sales

it will show sales for 12 months in chart.

masha-ecraft
Partner - Creator
Partner - Creator

If you have only one month selected then sum(Sales) shows sales for that selected month. If nothing is selected then Sum(Sales) is your total sales.

nilesh_gangurde
Partner - Specialist
Partner - Specialist

Hi shantanu,

If possible Please attach the sample data with qvw file.

Regards,

Nilesh Gangurde

Not applicable
Author

sum({<Month=Month-1>} Sales)

this code not working gives same value as selected mont

could u please check it