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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
MatheusC
Specialist II
Specialist II

Current month turnover rate (Churn)

Hello,


I found this solution to calculate the Customer Turnover Rate (Churn), in the print below a flag is created for purchases in the previous period.

MatheusC_0-1666785293157.png


The calculation to bring the Customer Turnover Rate (Churn), I am using the expression below:

Note: It's working fine, but I also want to bring the current month (current month), and this solution that I found only brings the closed months, does anyone have an idea how I can also bring the current month of the customer turnover rate?

(Count(distinct {<Ano={$(=Max(Ano))}>}[Grupo-Cliente-Venda])

-

Count(distinct{<Ano={$(=Max(Ano))},flagCompraAnterior={1}>}[Grupo-Cliente-Venda]))

/

Count(distinct{<Ano={$(=Max(Ano))}>} [Grupo-Cliente-Venda])

 

The result I've achieved so far:

MatheusC_1-1666785607298.png

 

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
Labels (3)
1 Reply
MatheusC
Specialist II
Specialist II
Author

Can anyone help me with this problem?

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!