Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Everyone
I would really love some help in something that I am trying to develop in my qliksense app.
I have attached some sample data. There are 3 different person ID's and each person has filled in two surveys (1 and 2). Each question 1-4 has a score. Example person ID 1234646 has answered two surveys with a score of 4 for Q1 in survey 1 and then 3 for Q1 in survey 2.
What I would like to do is take all the distinct PersonID's within my dataset and then when the app is loaded have it open on the first PersonID in the dataset. I would like two buttons that will allow me when pressed to go to next PersonID in the list or back to the previous PersonID in the list. I would like the next record button to be enabled until the last record in the list is reached.
For each record that it displayed on the screen I want to be able to show the scores on charts. This bit I have done by hard coding in an example PersonID so I am thinking that when the button is pressed the value of the PersonID will be passed to a variable which will then be read by the charts and will display accordingly.
The area that I am struggling with is getting the unique PersonID and then looping through each record on a button press. Any help greatly appreciated.
I think what you're looking for might be the semantic load feature. You could look at Henric Cronström's blog post from 2023 for confirmation an inspiration.
https://qhic.se/2023/04/12/semantic-links/
Hi, there could be different solutions for this, sketch of how it could work attached.