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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
ivandrago
Creator II
Creator II

Check current selections of a sheet before adding a filter to current sheet.

Hi,

I have the attached document.

What I want it to do is when the "Users" sheet is activated I want it to check the "Main" sheet and see if the selection Dept = "IT" is one the "Current Selections", if it is I want it to removed from the Current Selections on "Users" sheet and then make the selection Dept - "Finance".

Thanks

1 Solution

Accepted Solutions
ivandrago
Creator II
Creator II
Author

Thanks Mayil, the epression did not work but I changed it to the following

=if(GetCurrentSelections('Sales')>0,'London','')

View solution in original post

5 Replies
MayilVahanan

HI

Please check the attached file and let me know this you want??

Regards,

R.Mayil Vahanan

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
ivandrago
Creator II
Creator II
Author

Nice work! Very clever!

ivandrago
Creator II
Creator II
Author

Hi Mayil,

How do I make it select another field from another table?

So if Sales is Sleected, I want it to choose the City London when the "Users" Sheet is Activated.

Thanks

MayilVahanan

Hi

Hope you have link between two tables,

if so,

use like this

select in field: City

search string: =if(getfieldselecions(Sales)>0,'London','')

i didn't open the file.am in outside.. so oly.

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
ivandrago
Creator II
Creator II
Author

Thanks Mayil, the epression did not work but I changed it to the following

=if(GetCurrentSelections('Sales')>0,'London','')