Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
random_user_3869
Partner - Creator III
Partner - Creator III

Ratio Cumulative customer order by month

Hello everyone,

Here is the following:

 

Table:
Load* Inline [

YEarMonthNum, Customer_Num_Sales, Income
2022-05, 25E, 350€
2022-06,  25E, 176€

2022-07, 26F, 140€

2022-08, 35E, 550€;

 

I want to create a script that can count the number of customer whose sales is superior to 150€.

But i have an issue is regarding the following:

in my examplen 2022-05 and 2022-06 the cusomer 25E is listed TWICE.

I want to do it for cumulative month.

So a new customer is a customer whose sales during the current period (may 2022) is superior to 150€ but in the last 12 months (not counting current months) the sales of this customer is zero.

I struggle counting only a customer once because i don't want to add duplicate.

Anyone can help ?

THanks 

Labels (1)
10 Replies
random_user_3869
Partner - Creator III
Partner - Creator III
Author

I'll check this this weekend !

THank you