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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to do it in QLIKVIEW

Hi

I have an excelsheet with 3 fields.

ID,Sequence and businessarea.

ID have 233304 records and sequence and businessarea have 30212 records.

In  Sequence and businessarea i need to match the records . For matched records it has to display as Matched and for non matched records it has to show Not matched.

we can do this in excel sheet using formula

=IF(ISERROR(MATCH(B:B,A:A,0)),"No Match","Match")


but in qlikview how to do it?

I have attached the excel what we did in Excel..PFA

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

Load the file in a temp table

Use the exists() function to load the Definitive table.

temp:

Load * from ...

Definitve:

Load *, if (exists(BSN_RHSP..., SEQUENCE), 'MATCH, NO MATCH') resident Temp;

drop table Temp;

Fabrice

View solution in original post

5 Replies
Not applicable
Author

Hi Rammohan,

you can do this in script.

Load ID,Sequence,businessarea,if(Sequence=businessarea,'Match,'NoMatch') as Flag .


Thanks,

Shruthi

amars
Specialist
Specialist

Hi Ram,

Please find attached file.

Thanks...

Not applicable
Author

Hi,

Load the file in a temp table

Use the exists() function to load the Definitive table.

temp:

Load * from ...

Definitve:

Load *, if (exists(BSN_RHSP..., SEQUENCE), 'MATCH, NO MATCH') resident Temp;

drop table Temp;

Fabrice

Anonymous
Not applicable
Author

Thanks a lot Fabrice...its working fine.....

Not applicable
Author

Excellent,

Tag it as answered then

Fabrice