Forum Discussion
PREVIOUMONTH not returning the value
- 6 years ago
KatkaS ,
Yes, you need a separated table and relate it to your table.
You can use the function CALENDAR to get the min/max dates from your table and create it.
If you consider it as a solution, please mark as a solution and kudos.
Ricardo
Hi KatkaS ,
It will work if you have a continous date table.
Check these links:
https://docs.microsoft.com/pt-br/dax/previousmonth-function-dax
https://docs.microsoft.com/en-us/dax/time-intelligence-functions-dax
Ricardo
- KatkaS6 years ago
Post Patron
Thank you, Ricardo.
Do you mean in the table itself..? Or in a separate table and then make a relationship between two excels?
Thank you..
- camargos886 years ago
Community Champion
KatkaS ,
Yes, you need a separated table and relate it to your table.
You can use the function CALENDAR to get the min/max dates from your table and create it.
If you consider it as a solution, please mark as a solution and kudos.
Ricardo
- KatkaS6 years ago
Post Patron
Thank you, Ricardo!!