Forum Discussion
Anonymous
5 years agoNot applicable
Previous Year not working
Hi, I am running a previous year measure with Sales Prev Year = CALCULATE(SUM('Chalgrove FactSalesOrderLine'[SaleValueBase]),PREVIOUSYEAR(DimDate[FullDate].[Year])) However I am getting th...
- 5 years ago
Sales Prev Year = CALCULATE( SUM( 'Chalgrove FactSalesOrderLine'[SaleValueBase] ), PREVIOUSYEAR( DimDate[FullDate] ) )
amitchandak
Super User
5 years agoAnonymous ,Please mark this table as date tbale DimDate, also check data type of join column in FactSalesOrder, that should also be date column
if not
Can you share a sample pbix after removing sensitive data.
Anonymous
5 years agoNot applicable
Hi amitchandak
I am unable to make it a dat table as there is missing dates. our system puts defasult dates starting at 1900 so we need to have that in there along with the other info.
Thanks