Forum Discussion
Anonymous
4 years agoNot applicable
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...
- 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()) )
Anonymous
4 years agoNot applicable
Obrigada por responder, mas a minha tabela de calendario vai até 2030, o MAX('Date'[Date ]) irá trazer o 2030 não?
fiz a seguinte adaptação mas não sei se está correcto:
Rolling 6 = CALCULATE([Count_mov_cliente],DATESBETWEEN('d calendar'[DATA], TODAY()-30, TODAY()))
e no segundo dax, a minha tabela de moviemntos é uma factual, posso usar o distict count?