- Newest
- Most votes
- Most comments
Hi ,
you could potentially use the periodOverPeriodLastValue to create a calculated field for PreviousYear for the specific measure, or more than one calculated field if you want to compare more years, and play with the offset.
using your method, instead of splitting all part of the years, you could just create a calculated field that maps the same day and month to an non existent year in your data set ( i.e. calculated field parseDate(concat('1900-',substring(toString(Date),6,5)),'yyyy-MM-dd')
) .
In this way you have stiil a date format and you can use the visual custom fromat for the date to show MMM-dd i.e. Jan 01.
obviously the first method should be the right one to test the second is more of a workaround.
Thank you for posting your question, as of now the two ways you can achieve what you have described are the one you mentioned in your post and the one mentioned by Fabrizio@AWS above.
Relevant content
- asked 10 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 17 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago