Forum Discussion
somyasahu
8 years agoRegular Visitor
This Year vs Last Year: Help with Time Intelligence Functions
Hi,
I am new to Time Intelligence Functions and I need to create a financial dashboard with dynamic This year vs last year sales data. I have been able to find This year numbers but i am unable to find Last Year numbers. I have used the following functions but i get a blank colun with these:
- Dateadd
- Sameperiodlast year
- Next Year
- Parallelperiod
- Datebetween
- And a few more combinations using max, etc.
The syntax of all functions is right but I am not getting any/right values.
Can anyone please help? Also, if anyone can tell me how to attach files, i can share my dataset and pbix files as well
Many Thanks
2 Replies
- v-chuncz-msftCommunity Support
For any time intelligence function, you could implement a custom DAX formula.
https://www.sqlbi.com/articles/time-intelligence-in-power-bi-desktop/
- somyasahuRegular Visitor
Hi, I used the DAX functions only! But they are giving me blank columns