Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Conditional Show Based on OSUser

Trying to add a conditional statement to a button based on OSUser

Currently, I have the following syntax in the SHOW/Conditional dialouge box of the button:

OSUser () = '*melillo*, *userlastname*'

This does not seem to be working, even when I try it with just my last name.

Any suggestions? Thank you.

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

You should be able to use the WildMatch() function like this:

WildMatch( OsUser() , '*melillo*', '*userlastname*' )

View solution in original post

3 Replies
petter
Partner - Champion III
Partner - Champion III

You should be able to use the WildMatch() function like this:

WildMatch( OsUser() , '*melillo*', '*userlastname*' )

Anonymous
Not applicable
Author

Thanks Petter.

cbaqir
Specialist II
Specialist II

Petter,

On my Sheet Properties for Validation, I have Show Sheet Conditional:

=WildMatch( OsUser() , '*cbaqir*', '*jbrowning002*', '*clondono*','*draffensperger*' )

However, as you can see in the screenshot, this user can see this sheet but should not be able to. Any idea why? Does the type of license or distribution make a difference?

2-18-2016 9-41-56 AM.jpg

Thanks,

Cassandra