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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Acumulative Expresion

Hi,

I have this entry data

MonthDataTypeValue1Value2
01R101
01O121
02R111
02O152

and I would like to obtain this result

Month0201
DataTypeRORO
Value121271012
Value22311

where the rows Value1 and Value2 are acumulative expresions

Value1 = sum(Value1) = Value1 of Month 01 + Value1 of Month 02

Value2 = sum(Value2) = Value2 of Month 01 + Value2 of Month 02

I have tried doing this using an expression like  RangeSum(below(sum(Value1), 0, NoOfRows())), but there is a problem with the dimension DataType.

so actually the result obtained is this

Month0201
DataTypeRORO
Value111151012
Value21211

Any suggestions?

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached example. See this document for a bit of explanation about the AsOf table.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached example. See this document for a bit of explanation about the AsOf table.


talk is cheap, supply exceeds demand
Not applicable
Author

Thank you very much Gysbert. It's not just a correct answer, the proposed link is very useful.