Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
zagzebski
Creator
Creator

List Possible values related to user

I have field USER that it associated with specific DEPARTMENTS. The USER field = OSUser()

Is there any way to list the departments in a text box horizontally that related to the USER

The text box would look like:    Departments :  IT, Sales, Facilities

...where IT Sales and Facilities are the values in the DEPARTMENT field that relate to the USER (which is the current OSUser)

Something like.... USER=OSUser()=P(DEPARTMENTS)  ?


Thanks in Advance.

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,

Try below,

=Concat(DISTINCT If(USER=OSUser(), DEPARTMENT), ',')

View solution in original post

2 Replies
Anonymous
Not applicable

Hi,

Try below,

=Concat(DISTINCT If(USER=OSUser(), DEPARTMENT), ',')

zagzebski
Creator
Creator
Author

Awesome! Thank you,