Forum Discussion
matrix viual showing more data than expected
- 5 years ago
Hi wahib_mouhoubi ,
This issue is caused by the time intelligence function.The date of the actual data cannot match the date in the time intelligence function.
Try to add a filter condition in measure:
evolution = IF(MAX(dates[Date]) in VALUES(ALERTS[CREATION_DATE]), DIVIDE([nbr-alertes], CALCULATE([nbr-alertes],DATEADD(dates[Date],-1,MONTH)),0) -1)Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi wahib_mouhoubi ,
This issue is caused by the time intelligence function.The date of the actual data cannot match the date in the time intelligence function.
Try to add a filter condition in measure:
evolution = IF(MAX(dates[Date]) in VALUES(ALERTS[CREATION_DATE]),
DIVIDE([nbr-alertes],
CALCULATE([nbr-alertes],DATEADD(dates[Date],-1,MONTH)),0) -1)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi again V-lianl-msft ,
I reversed the condition
evolution = IF(MAX(ALERTS[CREATION_DATE]) in VALUES(dates[Date]),
DIVIDE([nbr-alertes],
CALCULATE([nbr-alertes],DATEADD(dates[Date],-1,MONTH)),0) -1)
and it works perfectly !
thank you !