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

Default Selection

Hello all,

I am using an extension called Variable and I have created a couple of buttons with it, that correspond to a variable for a couple of measures. I have then created a table and I made it in a way that it should show different calculations based on the button selected. 

It is working as expected and the only issue seems to be that I cannot find a way to set a default selection to the buttons and every time that I open the page where the table is, I get an error message "Internal engine error" and an empty table because there is nothing selected yet. The moment you select a button and therefore a measure, you immediately get your results, but I want one of them to be selected by default. 

Thank you in advance for your assistance!

Regards,

Shelly 

1 Solution

Accepted Solutions
nisha_rai
Creator II
Creator II

Hi,

You can use the SET/LET to fix the default variable value selection.

For example:

LET vToggle ='Budget';

vToggle is the Variable which is using in Variable extension.

 

View solution in original post

3 Replies
nisha_rai
Creator II
Creator II

Hi,

You can use the SET/LET to fix the default variable value selection.

For example:

LET vToggle ='Budget';

vToggle is the Variable which is using in Variable extension.

 

Chishndz
Contributor II
Contributor II

Hello

Can u add a photo whit the solution, i'm doing someting similar but no works

Thank You

ShellyG
Creator
Creator
Author

Hi Rai,

I have solved this by using a variable. For example I have a Variable called vToggle and I have set it by default to be equal to Units. In that way when I create a filter that has different options, I used the variable as a dimension and that way Units is always selected. 

Hope that this helps.