Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
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: 
Not applicable

Set Analysis Interval

Greetings!

My question is simple, but could not get an answer by referring to the forum, or the Reference Manual. I have a field X with values ​​between 300 and -120. I need to sum the field Y values ​​that are between 1 and 30 of the X and it tried to use Set Analysis, but it still fails:

Sum({<X={'<=30'}, X={'>=1'}>} Y) or

Sum({<X={'<=30','>=1'} Y)

Where I went wrong?

grateful

Stive

Brazil

1 Solution

Accepted Solutions
Not applicable
Author

Mr. Gysbert,

It was perfect!

Thank You!

Stive

View solution in original post

4 Replies
Gysbert_Wassenaar

try sum({<X={">=1<=30"}>} Y)


talk is cheap, supply exceeds demand
sbaldwin
Partner - Creator III
Partner - Creator III

Hi try someting like:

Sum({<X={'<=30'}>*<X={'>=1'}>} Y)

Thanks

Steve


Not applicable
Author

Mr. Gysbert,

It was perfect!

Thank You!

Stive

Not applicable
Author

sbaldwin,

Its solution is also perfect!

Thanks for the attention!