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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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
Partner - Champion III
Partner - Champion III

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!