Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
gayathridevi24
Contributor III
Contributor III

Previous Month Calculation

Hi All,

I am new to Qlikview. I have tried to solve the expression for the previous month. I am not getting results for the previous month calculation.

Could anyone help to solve this issue. Please find the attached qvw file.

 

Thanks and regards, 

Gayathri Devi

1 Solution

Accepted Solutions
anushree1
Specialist II
Specialist II

Hi Gayathri,

The variable vpreviousyear is holding the value 11 and the month field holds the values like jan, feb, mar... and you are passing month=11 in set analysis so qlikview searchesfor 11 in the list containing values like jan, feb etc.

So create a month number field which holds the month numbers and use the field in Set analysis

View solution in original post

2 Replies
anushree1
Specialist II
Specialist II

Hi Gayathri,

The variable vpreviousyear is holding the value 11 and the month field holds the values like jan, feb, mar... and you are passing month=11 in set analysis so qlikview searchesfor 11 in the list containing values like jan, feb etc.

So create a month number field which holds the month numbers and use the field in Set analysis

gayathridevi24
Contributor III
Contributor III
Author

I have got the answer. Thank you so much Anushree