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: 
clhubert
Contributor
Contributor

tSampleRow - Dynamically changing Range

I am trying to dynamically change the "range" that tSampleRow samples.
For example....
1 - 10
11 - 20 
21 - 30
Can I use a tLoop and dynamically change the Range of tSampleRow?
Labels (2)
2 Replies
vapukov
Master II
Master II

You can use context or global variables as parameter, so You can manage values for both and for tLoop (Integer variable) and for tSample (range is string separated)

0683p000009MCHf.png   0683p000009MCJa.png   0683p000009MCJf.png    0683p000009MC9Y.png
clhubert
Contributor
Contributor
Author

Thanks Vapukov
I won't know the range until runtime...  
So will i need a subjob to "generate" the entire range prior to using tSampleRow?