RelativePeriod returns the aggregated value for a period of time that is relative to the current period.
The calculated item is created by the following syntax:
(RelativePeriod(_Sum_, ROI_PCT, ApplyAllFilters, YEAR, Inferred, 0, Full) - RelativePeriod(_Sum_, ROI_PCT, IgnoreInteractiveTimeFrameFilters, YEAR, ByYear, 1, Full))* -1
Here is a sample output:
The following blog and another post are helpful.
https://blogs.sas.com/content/sgf/2017/12/21/relative-period-report-in-sas-visual-analytics/
https://communities.sas.com/t5/SAS-Visual-Analytics/Creating-a-Difference-from-previous-period-variable-on-an/td-p/649205#
... View more