Forum Discussion
Struggling with DATEDIFF
- 9 years ago
Matt,
Actually I have found another solution to this, I created a column that works out the difference in days between TODAY() and the quotation date. I can then use this to filter any metric on any number of days.
Thanks
Andy
It is hard to follow your post. What are you actually trying to do?
Matt,
Actually I have found another solution to this, I created a column that works out the difference in days between TODAY() and the quotation date. I can then use this to filter any metric on any number of days.
Thanks
Andy
- MattAllington9 years ago
Community Champion
The problem with today() is it only works today. What if you want to see Howe many quotes they had "last 30 days" for each month this year on a chart to see a trend? This won't work using the today approach.
Take a look at this article I wrote last week to help you get your head around the recommended approach
http://exceleratorbi.com.au/dax-time-intelligence-beginners/