Hi,
I have data like below image as Inline load.
In the frond end I have created two buttons(Button A and Button B) to categorize the column values as per the requirement.
Let's say when user click on both the buttons the filter (Category)should also select both values.
Could you please help me.
Thanks..
Hi,
Is there any approach to get this.
Thnaks...
Hi @Krish2459_58
Please try like below
Create a variable in the Qlik Sense script to store the selected values from the buttons. Let's name it "SelectedValues":
SET vSelectedValues = '';
For Button1:
For Button2:
These actions update the variable "SelectedValues" by appending the selected values to the existing values if the variable is not null, or initialize it with the selected values if it is null.
Thanks for your response.
FolIowed the steps but it's not working like when I click on the button.Nothing happens.Here is the logic.
SET vSelectedValues = '';
=If(IsNull(vSelectedValues), 'Property,Property Street,Suburb,City,Region,District,Property Co-ordinates,Property Manager,Property Type,Property Status,Property Sqm’,
vSelectedValues & 'Property,Property Street,Suburb,City,Region,District,Property Co-ordinates,Property Manager,Property Type,Property Status,Property Sqm ')
Thanks..
Hi,
Any suggestions please.
Thanks..
@Krish2459_58 Can you please share the expected result. So I can help you on that
Step1: Create button and add action - Select values matching search criteria
Step2: In value, write expression like this - '(a|b|c)'
Step3: Create another button for other selections - d, e, f, g in same manner.
Above picture: Button 1
Above picture: Button 2
Hi @Lokesh_5045
When we select two buttons the should append in sted of override.
Like in the avove case if two buttons were selected the category filter should have selected both button vales(a,b,c,d,e,f,g)
Thanks..
@Krish2459_58 Try button action - Toggle field selection
keeping the values as like above.