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

Announcements
Save an extra $150 Dec 1–7 with code CYBERWEEK - stackable with early bird savings: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
jaymerry
Creator
Creator

Interval set analysis

Hello,

Do you know if it's possible to make an interval with a set analysis ?

I'm trying to find the values contains between the last two char of CATEGORY => 11 and the last two char of CATEGORY <=16 (I have the function right() ) :

example of CATEGORY's data :

99-12

98-14

97-09

I have tried :


=sum({<%CATEGORY={"=RIGHT(%CATEGORY,2)>=11,RIGHT(%CATEGORY,2)<=16"}>}[Qty])

or

=sum({<%CATEGORY={"=RIGHT(%CATEGORY,2)>=11"},%CATEGORY={"=RIGHT(%CATEGORY,2)<=16"}>}[Qty])

But it doesn't work..

Have you any idea ?

Thanks for your help,

Best regards,

Jaymerry

1 Reply
danielrozental
Master II
Master II

here's an idea for you, create a fild in the script with the right(%CATEGORY,2) and do the setanalysis on that.