Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

I have taken YEAR field in list box,it is having 2004 to 2014 sales.But i need 2007 to 2011 sales with out using set analysis.

Can any one plz share the answer

18 Replies
d_pranskus
Partner - Creator III
Partner - Creator III

Use something like SUM({<Year -= {">=2007<=2011}>} Amount)

Not applicable
Author

Hi Darius

    I need with out using set analysis

d_pranskus
Partner - Creator III
Partner - Creator III

Why can't you use set analysis?

Not applicable
Author

As per my requirement i have to use only variables

oknotsen
Master III
Master III

Indeed.

And I already asked why not.

May you live in interesting times!
d_pranskus
Partner - Creator III
Partner - Creator III

You can use the following SUM(IF(Year >= 2007 AND Year <= 2011, Sales)).

Anonymous
Not applicable
Author

Hi rgv,

If you don't mind me asking,are you sure,should not use set analysis or hard code data in set analysis,instead use variables in set analysis.

Regards

Neetha

neha_sri
Creator III
Creator III

Hi rgv,

You can use this expression.

in General>field>edit, write this expression

if(Year>=2007 and Year<=2011,Sale) . It will work


Karthik3
Creator III
Creator III

Can you give us one solid reason why you don't want to use set analysis?