Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Union of Two Dimensions/Straight Table

I have a very unique request. My dataset looks like following:

CustomerProductSales
AX$ 10
AY$ 5
BX$ 5

I am creating two straight tables from this.

1) In this I want to look at Customers who bought X but did not buy Y. The output looks like following:

CustomerSales
B5

2) In this I want to look at Customers who bought X and also bought Y but less than $10. The output looks like:

CustomerSales
A5

The dimensions/expressions used in the above tables are completely different. I want to show a common output for both the tables above:

CustomerSales
A5
B5

Is this doable in QlikView at all?

Thanks,

Sagar

7 Replies
bumin
Partner - Creator II
Partner - Creator II

you can create different charts with set analysis commands doing what you want.

Not applicable
Author

Bumin, I already have created two separate charts (straight tables) to obtain Output 1 and Output 2 described above.

I want them to be clubbed in a single straight table.

sundarakumar
Specialist II
Specialist II

You can show them like

cust    exp1     exp2

a          5    

b                        5

but what i think is they cannot be clubbed together if a same customer will fall  under both the categories.

-Sundar


Not applicable
Author

So in the result you want to see sum of sales of product X for those, who bought a zero amount of Y and sum of sales of product Y for those, who bought Y but the sum is less than 10? And what to do with those who bought, say sum of X = 100 and sum of Y = 20? Drop them?

bumin
Partner - Creator II
Partner - Creator II

try this, it should do what you want

Not applicable
Author

There's a flaw, IMHO. Add line C, Y, 8 to the inline load and it will go to the result table, but shouldn't (Customer C did not buy any amount of X)

Not applicable
Author

try this as well