Forum Discussion
rajanimaddala
6 years agoHelper II
SAMEPERIODLASTYEAR error
Hi I have sales table, product table and calendar table I have slicers for FY, Month and Product I need to get last year sales value for the current month selected. This is my DAX expression ...
- 6 years ago
Hi
Thanks for the reply. I am getting the same error "DATEADD can be used only when contiguous dates exist..."
I have used PARALLELPERIOD(BI vwSETSales[Transaction Date], -12, MONTH) and it worked
mussaenda
6 years agoCommunity Champion
Change your transaction date to your date from calendar table
- rajanimaddala6 years agoHelper II
Hi,
Thanks for the reply. I have tried but it is calculating SUM(vwSETSales[Actual Revenue]) from entire resutset
No filters applied.