Forum Discussion
AlexisPREVOT
4 years agoResolver I
Problem with formula
Hi, I am trying to determine my number of orders compared to a previous period. Since my date table could not be clean, I proceeded in two stages: the first by creating a column allowing me to f...
- 4 years ago
AlexisPREVOT , You should always use date table for time intelligence function
CALCULATE(DISTINCTCOUNT('Marketing COMMANDE'[REFERENCE_COMMANDE]), dateadd('Date'[Date],-1, Year))
Power BI — Year on Year with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
https://www.youtube.com/watch?v=km41KfM_0uATime Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs
AlexisPREVOT
4 years agoResolver I
Hi v-chenwuz-msft amitchandak ,
Thank you for your answers. During my long weekend I studied the date tables more seriously and I was able to put them into practice. This actually solved my problem.
Thanks to you two.