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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get possible value ?

Hi All,

     I have a problem that would like to see if anyone here can help me to solve.

If I have a table, let say

ID, Department, StaffName

1,Accounting, Peter

2,Accounting, Mary

3, Accounting, David,

4, HR, Sue

5, HR, Janet

So, if I choose Department = "Accounting", I would like to store "Peter; Mary; David" into a variable, just like the output of the function GETFIELDSELECTIONS. Any idea for this if I don't want to use any macro?

If there is no choice, how the macro will be?

Thanks a lot!!!

1 Solution

Accepted Solutions
Not applicable
Author

Use concat(Department,'; ').

Regards,

Kiran Rokkam.

View solution in original post

2 Replies
Not applicable
Author

Use concat(Department,'; ').

Regards,

Kiran Rokkam.

Not applicable
Author

Thanks Kiran.

It works!!