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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
panwipa2528
Contributor III
Contributor III

How to count member and summary sale amount when I want to present

I have raw data sale by branch as below

  

Member IDSale AmountBill No.DayBranch
100150011A
1002100021A
1001105032B
100250042A
100250053C
100310063B
100350073C
100270084B

i want to present as below  Table

BranchBC
Member


Sum Sale AmountMemberSum Sale Amount
A2
count distinct only member who but branch A&B
3,250
Sum Sale Amount who but branch A&B
1
count distinct only member who but branch A&C
1,000
Sum Sale Amount who but branch A&C
B 1

count distinct only member who but branch B&C

1,500

Sum Sale Amount who but branch A&C

2 Replies
dsharmaqv
Creator III
Creator III

Count({$<Branch={'A','B'}>} DISTINCT Member)

In the same way you can perform oyher calculations as well

For more details on set analysis you can refer below link

https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/ChartFunctions/SetAnalysis/set-a...

hope it helps

migueldelval
Specialist
Specialist

Hi Panwipa,

Please check this attached file.

Regards

Miguel dle Valle