Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
louise119
Creator III
Creator III

carry over the values

Hi,
I want to carry over the values selected in the data_carry sheet to another sheet data_carry2 using button below.
These sheets refer to data from another DB, but how can I make Japan selected in green in the data_carry2 sheet?

Please help.....

test.png

test2.png

  

 

  

Thank you.

5 Replies
pensa-qlik
Employee
Employee

Hello,

Have you tried using the GetFieldSelections() function. In the action pane of your button, you can select ' Select Values in a field', set the field as 'RegionX' and set the value to =GetFieldSelections(Region). 

Hope this helps!

Prem0212
Creator
Creator

Its working for me with Getfieldselections function in action option of a Button

Prem0212_0-1683174953451.png

 

 

Prem0212_1-1683174982515.png

 

louise119
Creator III
Creator III
Author

I tried  GetFieldSelections() function. but in my case, the filter has the if statement and the filed of another sheet has if statement as well.
So I used the  GetFieldSelections() function like below.
But it doesn't work .....

【Formula】

・the field:RegionX
・the value:GetFieldSelections("If(~~~~~~)") 

pensa-qlik
Employee
Employee

Can you explain what you're doing with the if statement or provide more details from the formula?

louise119
Creator III
Creator III
Author

I am using an if statement in my filter to only show data for some countries.
I wanna transfer the data I selected in sheet A to sheet B automatically when I open the sheet B.

 

sheet A:

The formula for the filter is below.
-> if(Region="US" or "UK",Region)

 

sheetB:

The formula for the filter is below.
-> if(RegionX="US" or "UK" or "Korea" or "China",RegionX)