Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Straight Table with record counter that resets

Hello,

I have a requirement in which the user wants to assign records in a straight table to variable number of individuals assigned by number. For instance, the user wants to assign the records among 5 individuals. This would need to be variable on the front-end where I would have a slider object allowing the user to define the number of individuals. In this example they have selected 5. Can you reset the rowno(total) counter?

ItemAssigned Group

1

1
22
33
44
55
61
72
83
94
105
111
122
2 Replies
Gysbert_Wassenaar

Mod(RowNo(Total)-1,$(vDivider))+1


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

=MOD(RowNo(Total)-1,$(Var3))+1

Thanks Gysbert!