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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
talendtester
Creator III
Creator III

[resolved] How to reset Numeric.sequence at specific number?

In a tMap, I have a variable which has Numeric.sequence("s1",1,1).
How can I get s1 to automatically reset to 1 after every 25K rows of data inputted?
I tried making a second variable with:
(Var.var1==25000)?Numeric.resetSequence("s1",0)+"":null;
I get the error "The operator + is undefined for the argument type(s) void, String"
Any ideas how to just do the reset sequence instead of having to return a value?
Labels (2)
1 Solution

Accepted Solutions
vapukov
Master II
Master II

You can use tJavaFlex component to reset sequence 
0683p000009MBvm.png 0683p000009MC6w.png

View solution in original post

2 Replies
vapukov
Master II
Master II

You can use tJavaFlex component to reset sequence 
0683p000009MBvm.png 0683p000009MC6w.png
talendtester
Creator III
Creator III
Author

Awesome, thank you very much!