Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
paweln
Contributor III
Contributor III

Show record from field1 that has the same value in field2 as currently selected

I have simple table. 2 fields. Field1 with unique values. Field2 with string that always repeats two times (for two different Field1 values).  See example:

paweln_0-1610965228086.png

I would like to select value from Field1 and see (for example in other table) the second value of Field1 with the same value in Field2. I chose 123A, I get 123B and so on. How to do it?

 

2 Replies
MayilVahanan

Hi @paweln 

Try like below

Only({<Field2=P(Field2), Field1=>}Field2)

Sample:

MayilVahanan_0-1610967980222.png

 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
paweln
Contributor III
Contributor III
Author

I haven't test this yet but is it possible to get only first column from below table ? To have it in form of a dimension.

paweln_0-1610976129023.png