Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
MatheusC
Specialist
Specialist

Taxa de Rotatividade(Churn) para o Mês atual

Olá,

Encontrei essa solução no script para trazer a Taxa De Rotatividade (Churn) e funciona bem. Porém só traz os meses fechados, o mês atual (“out”) não está trazendo. Alguém tem uma ideia de como posso trazer também para o mês atual. Grato!

MatheusC_0-1666957076835.png

 

 

 

Para o cálculo estou usando essa expressão:

     (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])*1

 

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

Alguém, pode me auxiliar nesse problema?

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