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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get the un matched records?

Hi All   Can any one help me to get the un matched records in qlikview front end? 

This is my data and i need the difference value records from each table according to position

Table1:

CustomerContractpositionpartcompany
1212101working12Bmw
1215101repaired13Skoda
1254102unused12Audy
1254103working13Bmw
1212105repaired41Skoda
1215106unused42Audy
1211107working12Bmw

Table2:

CustomerContractpositionpartcompanydate
1212101working12Bmw1/12/2011
1215101repaired13skoda2/12/2012
1254102unused12Audy4/11/2010
1254103working13Bmw3/6/2010
1212105repaired41skoda6/4/2009
1215106unused42Audy5/4/2008
1211107working12Bmw4/9/2012
1211108working12Bmw02/5/1/2013
12102107working43Audy11/3/1911
1205109repaired44bmw12/7/2011
1205107unused46skoda11/3/1911
1208109working47bmw11/4/1202

Here  is my end what i have upto know

  Position:     Total contract in table1               Total contract in table2        difference

  working              3                                                  6                                 3

here difference is 3 , now i need those 3 different records from table 2.

Hope you understand Please Provide me some help to over come this.   Thank you.

14 Replies
Not applicable
Author

i need to compare those to tables.

Not applicable
Author

I think you still be able. You told, that smaller is subset of bigger. Do

additional field with values for example 1 or 2. 1 means that row was only

in 1 table. 2 - row was in borh tables. Rows with 1 are difference you are

looking for.

Good Luck

Darek

17-05-2014 13:05 użytkownik "johnDawson" <qcwebmaster@qlik.com> napisał:

Qlik Community <http://community.qlik.com/> How to get the un

matched records?

reply from johnDawson<http://community.qlik.com/people/johnDawson?et=watches.email.thread>in *New

to QlikView* - View the full discussion<http://community.qlik.com/message/530326?et=watches.email.thread#530326>

Not applicable
Author

I tried Dariusz i got all common and uncommon but i am unable to get this scenario

Not applicable
Author

let's say, that you added field named new_field, with values 1 for rows existing in both old tables and 0 for rows existing only in bigger table.

With expression:

count({<new_field={0}>}contracts)

you should have number of contracts you need.

Not applicable
Author

If you have now only one table with additional field which marks common and

uncomonn rows, use set analysis in your expression:

Count({<newfield={1}>} newfield)

This will give number of those rows which you marked as 1.

17-05-2014 13:49 użytkownik "johnDawson" <qcwebmaster@qlik.com> napisał:

Qlik Community <http://community.qlik.com/> How to get the un

matched records?

reply from johnDawson<http://community.qlik.com/people/johnDawson?et=watches.email.thread>in *New

to QlikView* - View the full discussion<http://community.qlik.com/message/530332?et=watches.email.thread#530332>