Forum Discussion
Previous Month
- 9 years ago
Hi mnarmeen,
After research and test, you should create a Calendar table, and create a relationship with your 'erie_sale' table by date column.
Then create a measure using the formula, then add it to your visual.PreviousSales = CALCULATE(SUM(erie_sale[Total]),PREVIOUSMONTH(Calendar[date]))
Best Regards,
Angelia - 9 years ago
Hi mnarmeen,
I know your calculated column is [filterdate]. I think it still works, Please try and respond me if you have any issue.
Best Regards,
Angelia
Hi mnarmeen,
I know your calculated column is [filterdate]. I think it still works, Please try and respond me if you have any issue.
Best Regards,
Angelia
Thankyou for your reply.
So, what I have done so far is that I have created a dimdate in sql and populated it with dates and now im making a relation (1-M) with my date column which isnt working .
RelationDiagram
- v-huizhn-msft9 years ago
Microsoft Employee
Hi mnarmeen,
Do you mind share your .pbix file for further analysis?
Best Regards,
Angelia