I am trying to create button functionality that filters a gallery of questions by category. I need to be able to filter to the next category each time the button is selected.
the main filter items property to start the gallery is: Filter(QuestionCol,Category=varCategory), QuestionCol)
varCategory is established by starting the gallery from a main screen.
I then would like to use a button to filter the gallery to the next category of questions. The category and questions are set up like so:
Category 1= 5 questions
Category 2=8 questions
Category 3= 9 questions
etc...
Any help would be appreciated. I believe the answer lies in creating a new variable for the next category of questions but not sure how to execute it.