Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
denis115
Creator
Creator

conditional hide based on user

Hello !

Help me pease !

What condition I must put in sheet properties to achieve what I want?

I need to hide a sheet from only one user , another users must see this sheet, how can I do this?

Thanks !

I'm using ntname section  access.

I find a condition but it doesnt hepled me: if(osuser()='ntname',1,0)

25 Replies
denis115
Creator
Creator
Author

=SubField(OSUser(),'\',2)

what is    '\',2   ?

avinashelite

what's the value your getting ??

denis115
Creator
Creator
Author

domain/username

avinashelite

SubField() is to get the string which are separated with common value


so  =SubField(OSUser(),'\',2)

means to get the second part of \ separator

denis115
Creator
Creator
Author

thank you!

Anil_Babu_Samineni

Glad we were able to offer you to resolve

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful