Forum Discussion
SAMEPERIODLASTYEAR(DATESYTD( )) different from DATESYTD(SAMEPERIODLASTYEAR( ))??
- 7 years ago
This is just another case where the Time Intelligence functions don't work as expected because the Date table is wrong.
Remember: Time Intelligence functions are guaranteed to work *only* if the Date table is "complete" - meaning you need all the dates until the end of the year.
Not doing that, what happens is that the year 2019 seems made by 15 days, so if you include all of them than it seems you have an entire month, or an entire year.... You are violating the assumption made by Time Intelligence and you cannot trust any result at that point.
MFelix, Greg_Deckler, any ideas?
Thanks very much
- Greg_Deckler7 years ago
Community Champion
I would think that marcorusso might like to dig into this one. All I can say is this is the kind of reason that I creaed the Time Intelligence The Hard Way Quick Measure:
The time intelligence functions are just these mysterious little black boxes that just act downright weird at times. I frankly don't really trust them as far as I can try catch throw them.
- marcorusso7 years ago
Most Valuable Professional
This is just another case where the Time Intelligence functions don't work as expected because the Date table is wrong.
Remember: Time Intelligence functions are guaranteed to work *only* if the Date table is "complete" - meaning you need all the dates until the end of the year.
Not doing that, what happens is that the year 2019 seems made by 15 days, so if you include all of them than it seems you have an entire month, or an entire year.... You are violating the assumption made by Time Intelligence and you cannot trust any result at that point.
- AlB7 years ago
Community Champion
Thanks Greg_Deckler
Yeah, I don't like them much either. They kinda shady. Let's see if marcorusso can enlighten us then, as usual.
I would give you kudos but it's not working :smileyfrustrated:, just like a bunch of other features lately on this site.
- Greg_Deckler7 years ago
Community Champion
AlB - Clear your browser cache, that worked for me to clear up all the issues.