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

How to write a set analysis expression using a range of date?

Hi all,

I want to write a set analysis expression that could count  a number of client between 2 fiscal year.

I tried this :

sum({$<FiscaleYear={'>=2010'}, FiscaleYear={'<=2012'}>} NumberClient)

but it sums all the client before 2013 and all the client after 2009.

What I want is the number of client between 2010 and 2012.

Do you have any ideas?

Many thanks

1 Solution

Accepted Solutions
v_iyyappan
Specialist
Specialist

Hi,

Try like this

Sum({<FiscaleYear={>=(2010))<=(2012)}>} NumberClient)

Iyyappan

View solution in original post

2 Replies
v_iyyappan
Specialist
Specialist

Hi,

Try like this

Sum({<FiscaleYear={>=(2010))<=(2012)}>} NumberClient)

Iyyappan

Not applicable
Author

Yes it is working, I just remove a ')'

Sum({<FiscaleYear={>=(2010)<=(2012)}>} NumberClient)

Thank you