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: 
Not applicable

How to calculate intersection customers amt?

Hi guys,

I have a fact table as follow:

storeidcustomeridamt
store1customer1100
store2customer250
store3customer370
store4customer160
store5customer3130
store6customer480
store7customer590

The store 1-3 belong to group A and the store 4-7 belong to group B.

I want to calculate the amt of which customer bought from both group A & B.

in this case means to calculate the amt of customer1 and customer3,

what expression should be used?

1 Solution

Accepted Solutions
tresesco
MVP
MVP

May be using p() like in the attachment. PFA.

View solution in original post

2 Replies
tresesco
MVP
MVP

May be using p() like in the attachment. PFA.

Not applicable
Author

Thank you very much,it works!