YoY Calculation in SAC

Overview: In this tutorial you will learn and understand that how you can use YoY calculation in SAC with examples.

YOY (Year over Year)

(Year over Year) YoY calculation in SAC is the function which returns a percentage (%) showing the difference between the value of current year compared with the previous year. This difference in numbers show how your business is performing as compare to last year of same month. So if you are calculating YoY in July Month for 2020 then YoY% will be the same month of last year e.g YoY = July’2020 – July’2019.

Syntax:

YoY ( [account member] )

Lets understand with few examples

Example: YoY calculation between two year

Lets take below table example which have 6 year for data for TotalRevenue and we will calculate YoY for these years

YoY_New = YOY ( [TotalRevenue] )

Sr.noYearTotalRevenueYoY_New ResultComment
1201010,000undefinederror because it’s the first year
2201114,00028.6%Ok
3201211,000-27.3%Ok
420130-100%Ok
5201413,000undefinederror because previous year’s TotalRevenue is 0
6201512,000-8.3%Ok
7201614,00014.3%Ok

Explanation of above table

Row 1 give the error because because it’s the first year in the dataset and YoY formula don’t able to find out the compare year.

Row 2, 3 6 and 7 give the correct YoY5 value as both current year and previous year have the valid value

Row 5 give error because previous year have the zero value

This YoY calculation in SAC can be used in table view and chart view like combine chart where you can show actual and YoY presentation in single chart.

Scroll to Top