Forum Discussion
Error when using Sameperiodlastyearwith filter
- 8 years ago
i found this solution in forum
If it is a measure which is using any date function which expects contiguous date range, bi-directional filter ends up removing some dates and thus its no longer a contiguous date range which could be crashing the measure.
Both Cross Filter Direction for date is not yet supported. Therefore they have designed an error, which is the one we see here. Once you change the Cross Filter Direction to Single, there is nothing that isn't supported anymore, therefore the error goes away.
I can’t see all the images, but the last image/error suggests your date table doesn’t have a contiguous date range. Readthe rules at my blog.
- mechaloupi8 years agoNew Member
thanks Matt for replying , my date table have a coniguous date range , with no missing dates and no duplicate dates , my formula works perfectely whene i clear all filter . or whene the current year have no sales , but if i use filter , my table return this error .
- mechaloupi8 years agoNew Member
i found this solution in forum
If it is a measure which is using any date function which expects contiguous date range, bi-directional filter ends up removing some dates and thus its no longer a contiguous date range which could be crashing the measure.
Both Cross Filter Direction for date is not yet supported. Therefore they have designed an error, which is the one we see here. Once you change the Cross Filter Direction to Single, there is nothing that isn't supported anymore, therefore the error goes away.