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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

set analysis

i want to compare current selection vs previous selection for budget rev.

I have declared 2 variables 1.vCurryear=max(year) other vPrevyear=vCurryear-1

Within one expression curr budget rev i have written the following -

Sum({$<Year = {$(vCurryear) ))}>} [Budget rev#]

why data is not coming?

should i declare another expression for other year?

i want to compare current vs previous year

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

There are some mistypigs here... Try this:

Sum({$<Year = {$(vCurryear)}>} [Budget rev#])

View solution in original post

2 Replies
Anonymous
Not applicable
Author

There are some mistypigs here... Try this:

Sum({$<Year = {$(vCurryear)}>} [Budget rev#])

Anonymous
Not applicable
Author

Hi I have resolved this .Your answer also correct.

sum({$<Year={$(=vPrevyear)}>} [Budget rev#])

Regards