Forum Discussion
sivashankr
6 years agoHelper II
LYTD Contiguous Issue
HI Team, I created LYTD using SAMEPERIODLASTYEAR function, but it throws me the error as shown in below screenshot. Then I changed the bi-drectional filter single it works but shows incorrect aggre...
amitchandak
6 years agoSuper User
sivashankr , Can you share the formula. Hope you are using date from date table
Ideally, all the time intelligence functions will work with a continuous date. Now can of bi-directional date table is filtered from fact data. and may miss dates and time intelligence function will give an error
- sivashankr6 years agoHelper II
Hi amitchandak and parry2k ,
I resolved this by the below formula. Thanks a lot for taking your time to look into this.
CALCULATE (metric, SAMEPERIODLASTYEAR ( DATESYTD( 'CALENDAR'[Date],"31/7" ) ) )
- parry2k6 years agoSuper User
sivashankr well done.