I need to create a buttom, that select the next ID when the button is clicked. In my qliksense file, I have a filter for my ID's (The ID's is 8 char long and not necessary sorted) and a pivot with values connected to the specific ID's.
I have been trying to use a logic like this, but without success.
=if('$(index)' >= Max({1} [ID]),
'$(index)' + 1
)
I looked into this post Show Next/Previous item of an array, and tried to work with the logic of the solution. I have tried to work with getselections, getfirstsortedvalue, RowNo, RowNo(total), but still haven't managed to get it to work.
Hope you can help, as I have been struggling with this for some time and cannot find a solution in the qliksense community that works for my problem.
Thank you!
Picture of Dashboard
Picture of Load-Editor:
question from:
https://stackoverflow.com/questions/65541370/button-for-selecting-next-id 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…