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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis - Intersection

Hi,

Can anyone help me on this. I am using Qlikview 8.5

Say i have a table with City and Zipcodes and distance as their fields. Please see the following

City
Zipcode
Distance
A192
A285
A3101
A489
A575
A678
A758
B195
B289
B390
B4100
B591
B675
B777
B865
B9105

In the above i would like to have an intersection of two selections.

Selection1: EventName:A with distance less then 90. this will give me some zipcodes.(Book1)

Selection2: EventName:B with distance less than 96. this will have some zipcodes(Book2)

Now if i need to have an intersecting zipcodes of the above two sets, what expression i should use for this.

I have tried using the below expression

count(distinct {Book1*Book2}Zipcode).

But it does not work.

Please let me know if you can help me on this.

Thanks

Hari

1 Reply
erichshiino
Partner - Master
Partner - Master

Hi,

I tried some similar expression and it worked for me: