Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nareshthavidishetty
Creator III
Creator III

Composite Key in set analysis

Hi all,

I have a table like,

   table1:

datecitycount1
21/02/1990Pune1
22/02/1990Tamilnadu

2

  table2:

datecity1count2
21/02/2050bangalore2
21/02/2051Ap3

I have the data like this in different tables, with out concatenate(data was different in each table) .my requirement is ,i want to see the data like this in straight or pivot table

  

datecitycount
21/02/1990Pune1
22/02/1990Tamilnadu2
21/02/2050bangalore2
21/02/2051Ap3

My Approach:

Load count1,date&'-&city as key table1;

Load count2,date&'-&city2  as key table2;


set analysis:count({<SubField(key,'-',2)={"Ap"}>}count2);result should be :1,(i have created variable also)

but my approach was wrong in set analysis,can any one please help me on these,


Warm Regards,

Naresh



0 Replies