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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
sidhiq91
Specialist II
Specialist II

Count of Potential and Non-Potential Customers

Hello Guys,

Could anyone help me with the below scenario? I wanted to count the number of Potential and Non-Potential Customers date-wise.

Definitions for Potential and Non-Potential are as follows:

Potential: Potential customers are the ones who have made a purchase.

Non-Potential: Non-Potential Customers are the ones who are visiting the shop but have never made the purchase.

Note:  If customers just visit the store after the first purchase and does not make any purchase is still considered  Potential Customer.

I have attached the screenshot of the sample data for your reference.

Please do help.

Output Table
Date No of Potential Customers No of Non-Potential Customers
01-Dec-23 0 1
02-Dec-23 0 1
03-Dec-23 1 0
04-Dec-23 2 0
05-Dec-23 1 1
Purchase Table
Purchase Date Purchasor ID Product
03-Dec-23 1 Shampoo
05-Dec-23 3 Pants
04-Dec-23 2 Shirts

 

Visitors Table
Visitors Date Visitor ID Shop Name
01-Dec-23 1 Shop A
02-Dec-23 2 Shop A
03-Dec-23 1 Shop A
04-Dec-23 1 Shop A
04-Dec-23 2 Shop A
05-Dec-23 3 Shop A
05-Dec-23 4 Shop A
Labels (1)
1 Reply
sidhiq91
Specialist II
Specialist II
Author

Hello Everyone,

Can I get some help on the above request?

Regards,

Sidhiq