Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
giovanneb
Creator II
Creator II

Counter accumulating values ​​in the script

Hello community,

I have the following table below, and I need to create a counter as the column counter, idea is whenever you meet ID_CD_MOV = 11 despises this line and the previous and the counter applies the next column, the more the counter values ​​accumulated by ID_DOC.

I'm waiting for a help, thanks

ID_DOCID_CODID_CD_MOVDATEVLCounter
80425774133801029/02/20121643,211
80425774133801023/03/20121643,422
80425774133801023/04/20121643,293
80425774133801016/05/20121447,87x
80425774133801116/05/2012-1643,29x
80425774133801022/05/20121643,294
10062832153701023/01/2013143,661
10062832153701018/03/2013146,062
10062832153701012/04/2013145,723
1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached example


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

See attached example


talk is cheap, supply exceeds demand
giovanneb
Creator II
Creator II
Author

Thanks