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

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
microwin88x
Creator III
Creator III

How to know which value is associated to another value without selecting it?

Hello!

I have a table with:

- Offices

- Users

And I need the following:

If User = User1, show me the corresponding Office (for example, Office1) WITHOUT SELECTING that User

I tried: =IF (Users = 'User1', Offices) but it works only when selecting the User1

Is there any function to bring that Office for that User in particular?

Thank you!!!

--

Should this work?

1 Solution

Accepted Solutions
Nicole-Smith

only({<Users={'User1'}>} Offices)

But if there could be more than one value in Offices, you need to use:

concat({<Users={'User1'}>} distinct Offices, ', ')

View solution in original post

1 Reply
Nicole-Smith

only({<Users={'User1'}>} Offices)

But if there could be more than one value in Offices, you need to use:

concat({<Users={'User1'}>} distinct Offices, ', ')