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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rangesum with selection apply

Hi All,

     Could anyone help me? I managed to apply rangesum formula using expression, and the result is right.

But why after then the selection doesn't work. I want to be able making selection based on report_period.

What did i missed? should it be done in load script?

Please see my attachement.

Thank you,

5 Replies
robert_mika
Master III
Master III

take the 1 off:

(RangeSum(Before(Sum({1<[Mov1]={"Addition", "Subtraction"}>} if(Mov1 = 'Subtraction', -Count, Count)),0, ColumnNo())))

1 tells the expression to ignore all selections

Feeling Qlikngry?

How To /Missing Manual(25 articles)

Not applicable
Author

Hi Robert,

It works!!

I should learn more about rangesum concept

Thanks,

robert_mika
Master III
Master III

Glad to hear but is  more about how Qlikview interpretation of

$ and 1/

Search forum for examples.

sunny_talwar

And in addition you can also go through this very comprehensive set analysis document. I learned a lot of things from this and I still continue to do.

ahbzshk07
Contributor III
Contributor III

that was good... (y)