Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Clientes inativos

Olá, eu tenho uma tabela de movimento dos clientes que tem as seguintes colunas: id_cliente [count_mov_cliente] --- (dax formula) id_calendario   E tenho uma tabela para o calendario e outra par...
  • amitchandak's avatar
    4 years ago

    Anonymous , first have 6 month rolling measure

     

    Rolling 6= CALCULATE([count_mov_cliente],DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-6,MONTH))

     

    then create a measure like

     

    countx(values(Table[id_cliente]) , if (isblank([Rolling 6]) , [id_cliente], blank()) )