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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ramanarayan
Creator
Creator

help with set analysis expression

Hi Experts

Need help with an expression please.

 

In the chart named 'expression help' i have an expression which should give me the sum of demand + sum of demand where month = key + 1. 

I expect to see the value as 350 for the month of Aug.

I tried to use set analysis but i dont get the desired output. Can someone help please

Labels (1)
4 Replies
Somasundaram
Creator III
Creator III

Hi,,

 

Instead of Set Analysis, You can use Accumulate (in 2 steps)

 


-Somasundaram

If this resolves your Query please like and accept this as an answer.
agigliotti
MVP
MVP

let's try using:
rangesum( above( sum(Demand), 0, RowNo() ) )
as expression
The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
ramanarayan
Creator
Creator
Author

Thanks for the reply.

If you can slightly tweak this expression in such a way that

For Aug, i need Aug+Sept values and for Sept i need Sept + Oct values.

 

If you can please help modify would be great.

ramanarayan
Creator
Creator
Author

Thanks for the reply.

If you can slightly tweak this expression in such a way that

For Aug, i need Aug+Sept values and for Sept i need Sept + Oct values.

 

If you can please help modify would be great.