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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Restrict selection box

Hi all,

Is possible to restrict a selection box based on the logged in user?

For example we have a selection box with multiple values (i.e. Site 1, Site 2 etc), however if a certain user opens the document I only want them to be able to select "Site 1".

Thanks in advance for any advice.

Anthony

1 Solution

Accepted Solutions
sunny_talwar

As a list box expression

View solution in original post

4 Replies
sunny_talwar

Have you thought about section access? If you don't want to do this, you may be able to use an if statement to do this:

If(WildMatch(OSUser(), '*User1'), If(Match([Site ID], 'Site 1'), [Site ID]), [Site ID])

Not applicable
Author

Hi,

Thanks for the quick response. Where would I apply such a If statement?

sunny_talwar

As a list box expression

Not applicable
Author

Thanks for the advice, it worked perfectly.