Forum Discussion
previous month
- Anonymous6 years ago
Hello,
I am pretty sure that it only works with a dimension date table, so using this table your expression would be like the following:
Prev Month count = CALCULATE([SKU_Count],dateadd(dim_date[.Calendar_date],-1,MONTH))
- 6 years ago
Anonymous , not sure the name of date in date table, one of the following
CALCULATE([SKU_Count],dateadd(dim_date[Calendar_date],-1,MONTH))
CALCULATE([SKU_Count],dateadd(dim_date[Date],-1,MONTH))
CALCULATE([SKU_Count],DATESMTD(dateadd(dim_date[Date],-1,MONTH)))
Hello,
I am pretty sure that it only works with a dimension date table, so using this table your expression would be like the following:
Prev Month count = CALCULATE([SKU_Count],dateadd(dim_date[.Calendar_date],-1,MONTH))
- Anonymous6 years agoNot applicable
thnk you . i dont have dim table i have only one main table
how to modify the exp?
CALCULATE([SKU_Count],dateadd(dim_date[.Calendar_date],-1,MONTH))
- amitchandak6 years agoSuper User
Anonymous , not sure the name of date in date table, one of the following
CALCULATE([SKU_Count],dateadd(dim_date[Calendar_date],-1,MONTH))
CALCULATE([SKU_Count],dateadd(dim_date[Date],-1,MONTH))
CALCULATE([SKU_Count],DATESMTD(dateadd(dim_date[Date],-1,MONTH)))
- Anonymous6 years agoNot applicable
Hi
i dont have date table ..
i have only main table.