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

Table : Row Specifc Sum


Hi,

I have a scenario where a calculation expression 'Summation'  depends on the 'Duration' figure;

   Raw data is something like :

  

DurationSummation
120
230
310
420
510

  Requirement :

DurationSummation
180
510

So that 'Summation' for  Duration '1' corrsponds to sum of 1 to 4 Duration , whereas 5,10,15,... should get its respective Summation Value.

I could get thru the 5,10,15,.. Summation by using Mod() function.

Would apprectiate any help on the above !

Cheers !

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw.


talk is cheap, supply exceeds demand
alexandros17
Partner - Champion III
Partner - Champion III

Here it is my example