Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Ravi1
Partner - Contributor II
Partner - Contributor II

section access

1. Is there a way to use QVuser() in qlik sense?

2. Is there a way to use the name given in section access for hiding a chart on show/hide container in qlik sense using if condition?

3. can anyone provide  me with a condition to chat with a single user and this message should not be seen by other user in the same group in Vizlib Collabration?

Labels (1)
1 Solution

Accepted Solutions
asinha1991
Creator III
Creator III

there is a function called OSUser() which stores current user, you can use that in show/hide container ...the format it returns is domain\username( all in caps)...you can do some kind of table creation in script(not section access) like 

Load * inline

[UNAME, INDICATOR

DOMAIN/USER1, 1

DOMAIN/USER2, 0

]

in the show and hide container write something like this in showhide container

only(if(UNAME=OSUser(),INDICATOR))

 

you can also use reduction in section access, just bring a value of INDICATOR in Section access part along with user...and then you can directly use INDICATOR in showhide container as there will be only one value loaded based on user

View solution in original post

1 Reply
asinha1991
Creator III
Creator III

there is a function called OSUser() which stores current user, you can use that in show/hide container ...the format it returns is domain\username( all in caps)...you can do some kind of table creation in script(not section access) like 

Load * inline

[UNAME, INDICATOR

DOMAIN/USER1, 1

DOMAIN/USER2, 0

]

in the show and hide container write something like this in showhide container

only(if(UNAME=OSUser(),INDICATOR))

 

you can also use reduction in section access, just bring a value of INDICATOR in Section access part along with user...and then you can directly use INDICATOR in showhide container as there will be only one value loaded based on user