Forum Discussion
%YoY doesn't work
I am new to Power BI and encountered a problem that:
Formula:
Anonymous , use date table and do not use .date
VAR __PREV_YEAR = CALCULATE(SUM('ACT'[COUNT]), DATEADD('DAte'[DATE], -1, YEAR))
In visual use date, month year, etc from date table
Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
2 Replies
- amitchandakSuper User
Anonymous , use date table and do not use .date
VAR __PREV_YEAR = CALCULATE(SUM('ACT'[COUNT]), DATEADD('DAte'[DATE], -1, YEAR))
In visual use date, month year, etc from date table
Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
- v-easonf-msftCommunity Support
Hi, Anonymous
If your problem has been solved, you could accept the helpful answer as solution. You could also share your own
solution here.
If you still need help, please share a sample file for further research.
Best Regards,
Community Support Team _ Eason