Qlik Community

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Customer & Partners, DEC. 9, 11 AM ET: Qlik Product & Strategy Roadmap Session: Data Analytics REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Ravi1
Partner
Partner

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

View solution in original post