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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
adann_CB_96
Contributor II
Contributor II

How to match and show matched values from two different fields?

I am using a filer pane in which I must show some values.

There are two fields: "A" and "B" with contract ids and I have to do something like inner join between them to check, if a values from "A" field exists in "B" field. If so, such a value will be shown in the filter pane and all other values existing in both fields will be shown too.

Screenshot 2026-02-02 135645.png

 

Do you know how to do it in an edit expression?

Labels (5)
4 Replies
marcus_sommer

It shouldn't be done within the UI else in the data-model and might resulting in a single field for the id's and n extra fields with the information if the id is in orders/billing/shipment/whatever ... and/or how many times and/or the date-offsets or ...

There are various approaches possible, for example checks with exists() or aggregation-loads or interrecord-functions like peek() and previous.

adann_CB_96
Contributor II
Contributor II
Author

Hi, none of those functions you mentioned exist in a edit expression.

marcus_sommer

Like hinted, it shouldn't be done there else within the script to get native fields with the appropriate information.

marksouzacosta

Hi @adann_CB_96,

Maybe something like this:

Count({<FieldA=P(FieldB)>} FieldC)

 

Regards,

Mark Costa

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com