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

Hiding sheets in QVW

Hello,

I need to hide sheets in the access points for 5 users. I'm using the syntax =if(osuser() = 'EXCHANGE\ABC',0,1) under sheet properties > General > Conditional. It works well in the Access point that the user ABC can no longer see the tab/sheet.

My question is regarding how to implement the same logic for other 4 users within the same syntax. Can we use =if(osuser() = 'EXCHANGE\ABC', 'EXCHANGE\DEF', 0,1). What is the correct way of implementing it.

1 Solution

Accepted Solutions
sergio0592
Specialist III
Specialist III

Hi, try with :

=if(match(osuser(), 'EXCHANGE\ABC', 'EXCHANGE\DEF')>0,0,1)


But in OS user name there is often differents case letter eg Jason_COOPER, Brenda_Trafford. So i often use mixmatch() function instead.

View solution in original post

1 Reply
sergio0592
Specialist III
Specialist III

Hi, try with :

=if(match(osuser(), 'EXCHANGE\ABC', 'EXCHANGE\DEF')>0,0,1)


But in OS user name there is often differents case letter eg Jason_COOPER, Brenda_Trafford. So i often use mixmatch() function instead.