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: 
rsdhavle
Creator III
Creator III

Matching values from one column to another

I have two columns A and B. I want to show only those values from Column A which are available in Column B. How can i do that. Which function can be used?

8 Replies
tresesco
MVP
MVP

In the script use Exists(), like:

Load

          A,

          B

From <> where exists(B,A):

rsdhavle
Creator III
Creator III
Author

Can we control it at Object level? I dont want to restrict values at main script level.

tresesco
MVP
MVP

Listbox? Chart? Could you explain the scenario better?

simenkg
Specialist
Specialist

how about doing something like this

Table1:

Load A, B from File.qvd (qvd)

left join(Table1)

load B as A, 1 as ValidFlag from File.qvd (qvd);

then you can select ValidFlag = 1 in the front end or use set analysis with {<ValidFlag = {1}>}

rsdhavle
Creator III
Creator III
Author

yes i am doing it in straight table chart

ashfaq_haseeb
Champion III
Champion III

Hi,

May be like this.

Regards

ASHFAQ

MarcoWedel

another one in front end only:

QlikCommunity_Thread_131421_Pic1.JPG.jpg

QlikCommunity_Thread_131421_Pic2.JPG.jpg

hope this helps

regards

Marco

rsdhavle
Creator III
Creator III
Author

You have written the condition in expression part..Lets say i want to control it at Dimension level then writing   =If(Match(A, $(=Concat({1} B, ','))), A)  will work?

As i need to display filtered A values in chart