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

Navigating between sheets using buttom

Hi experts,

I created a button that, when clicked, should go to another sheet. The sheet will be selected by the user with a dropdown list (Variable Input - vSheet).
I tried to set a condition so the user will move to the sheet he chose, but it didn't work. 
WhatsApp Image 2023-12-21 at 16.32.52.jpeg

 =If(vSheet = 1, 's1', If(vSheet = 2, 's2', 's3'))

How can this be done? And if not possible, what are the alternatives?

For tests I use QS Desktop version February 2022, client's QS version is May 2022.

Thanks!

Labels (3)
1 Solution

Accepted Solutions
MartW
Partner - Specialist
Partner - Specialist

Hello @Amit_B ,

try and use the define sheet by sheetID option.

then it is important that you always make sure that your variable is within quotes (make it a string)

in your dropdown you need to select the option to dynamiclly fill the dropdown. with a value~label|(extra options)

then it should work

 

MartW_0-1703174283524.pngMartW_1-1703174300873.pngMartW_2-1703174339813.png

 

View solution in original post

5 Replies
steeefan
Luminary
Luminary

You seem to want to navigate to sheets called 's1', 's2' and 's3'. Are these really your sheets' names? Try using their actual names or their IDs. The latter you can find in the address bar of your browser after /sheet/.

MartW
Partner - Specialist
Partner - Specialist

Hello @Amit_B ,

try and use the define sheet by sheetID option.

then it is important that you always make sure that your variable is within quotes (make it a string)

in your dropdown you need to select the option to dynamiclly fill the dropdown. with a value~label|(extra options)

then it should work

 

MartW_0-1703174283524.pngMartW_1-1703174300873.pngMartW_2-1703174339813.png

 

Amit_B
Creator
Creator
Author

Thanks for the reply.

How can I know what the SheetID is in QS Desktop?

steeefan
Luminary
Luminary

Start Qlik Sense Desktop, then open it in a browser: http://localhost:4848/hub/my/work

Amit_B
Creator
Creator
Author

Thanks alot!