Hi All, I want to compare current year sales data with previous year and user will have flexibility to choose the current year from the filters (i.e. 2016 or 2015 or 2014 etc). Below code is working, but by default it take 2016 as current year and takes 2015 last year and giving me the results. Last_year_sales = CALCULATE(SUM('Table'[Sales]), PARALLELPERIOD(Table'[Date],-1,YEAR)) Note: Date is full date DD-MM-YYYY I am having one more column as "YEAR" and using this as filter in the report. When selecting year as 2015 as current year it won't work. Please help me.. Thanks, Krishna
↧