This field is required.
Only these extensions are allowed(.jpg, .JPG, .jpeg, .JPEG, .gif, .GIF, .png, .PNG)
Tags cannot contain the characters ' /, \\, #, ?, or ; >,< '
Only these extensions are allowed(.zip,.ZIP,.pdf,.PDF,.qvf,.QVF,.qvw,.QVW)
If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.
I'm trying to find a way to operate a rangesum within the script. Table looks like this:
Expected result is in column CUMUL.
Thanks for your help
This is a way to do it:
RAW_DATA:LOAD RowNo() AS R#, *INLINE [ITEM OCCURRENCEA 1 A 1 A 1 A 1 B 1 B 1 A 1 A 1 B 1 A 1 B 1 B 1 B 1 ] (delimiter is \t);
DATA:LOAD If(R#=1,OCCURRENCE,If(Peek('ITEM')<>ITEM,OCCURRENCE,OCCURRENCE+ Peek('CUMUL'))) AS CUMUL, *RESIDENT RAW_DATAORDER BY ITEM, R#;DROP TABLE RAW_DATA;
View solution in original post
YES PERFECT !
Please click "like" to give credit as that is the only way that actual credit is given on this forum ... strangely enough ... 🙂