Forum Discussion
Compare measure between months
- 5 years ago
Hi, Anonymous
Please correct me if I wrongly understand your question.
If your slicer selection is April 2020, and you want to show the number of March 2020, right?
You have a custom date table?
please try to use DATEADD function in your measure.
something like,
previousmonth = calculate (currentmeasure, dateadd(dates[date], -1, month))
Or, if you can share your sample data file, I can try to have a look into it and come up with an accurate outcome.
thank you very much.
Did I answer your question? Mark my post as a solution!
Appreciate your Kudos!!
Hi, Anonymous
Please correct me if I wrongly understand your question.
If your slicer selection is April 2020, and you want to show the number of March 2020, right?
You have a custom date table?
please try to use DATEADD function in your measure.
something like,
previousmonth = calculate (currentmeasure, dateadd(dates[date], -1, month))
Or, if you can share your sample data file, I can try to have a look into it and come up with an accurate outcome.
thank you very much.
Did I answer your question? Mark my post as a solution!
Appreciate your Kudos!!
- Anonymous5 years agoNot applicable
Thanks a lot!