Hi. How can we help?

Analytics calculations: Match+Index 2: Setting financial year by month

If the store's financial year begins outside of January, sales trajectories can still be compared between the current and last financial years.

You can add some calculations to Analytics to organize this.

  1. Start by pulling up your sales by month for the past 36 months.

    image24.png

  2. Next, locate the Sale Completed Month from your report, and change it to your Financial Month.
  3. From the date functions discussion, you can use the add_months function. Add_months requires two arguments: how many months forward, and which months you're looking at.
  4. As an example, the start of your financial year is May. What you need to do is add the months to May that make it January. If you think backwards, December needs one month added to be January. November needs two. May needs eight.

    image23.png

  5. Then, the months you want to start from are the Sale Completed Month.

    image15.png

  6. Save, and the report displays the redefined financial month.

    image14.png

  7. Next, you want to read the results for a year. To start this, extract the year.

    image19.png

  8. From the Financial Month, copy the calculation.

    image17.png

  9. Paste the calculation into the Current Financial Year

    image10.png

  10. Click Save. The report displays the information as you need.

    image7.png

  11. Finally, click Save As New.

    image12.png

Next, for example, you want to use Analytics to view the details for the year 2019 in this model, but that would mean that you would need to adjust it for the next financial year. Instead of defining this year, what you want to do is look for the highest year from the available Financial months.

  1. You can do this by using the Large function from our Math functions.

    image6.png

  2. You want to look at the Financial Year.

    image9.png

  3. Find the largest timestamp.

    image16.png

  4. Click Save. The largest timestamp will be in position one. 

    image18.png

  5. Also, you could proactively create a new calculation to pull up the previous Financial Year.

    image13.png

  6. Click Save, and the report will pull up the previous Financial Year.

    image3.png

  7. Next, click Save As New.

    image5.png

Next, you can turn these years into dates. Using Date calculation, you can recreate dates that are somewhere on the list, and then organize them the way you want.

  1. The Date function requires three arguments: the year, the month, and the day.

    image26.png

  2. Copy the calculation for This Financial Year into the year position, use the row() function to define the month (month one will be row one, month two will be row two, and so on). Finally, you can define the day as the number 1.

    image27.png

    I've created two of these now, one for This Financial Year and another for Last Financial Year.

  3. Click Save, and the table for recreated years will read the results.

    image30.png

 

So now, you have the framework to match+index the sales totals from the default sorting to our desired sorting.

  1. Start by matching the Financial Year-Month (column 6 above) to the Financial Month (column 2 above). Start building the calculation.

    image8.png

  2. Copy and paste the Financial-Year-Month calculation.

    image1.png

  3. Then, copy and paste the first Financial-Month calculation. In this example, a second calculation to find the rows for the previous financial year is also included.

    image25.png

  4. Now, when you click Save, the rows that correspond to our Financial Months for this Financial Year and Last Financial Year display.

    image28.png

  5. And then using the Match function, you can pull from the Sale Line Totals.

    image29.png

  6. Each corresponding value for the Financial year.

    image31.png

  7. Click Save.

    image21.png

  8. When you do it for both years, the values displayed are being pulled from your report into the right order

    image11.png

  9. From here, all you need to do is aesthetic edits. You can display what this looks like on a visualization.

    image20.png

  10. Next, hide everything except the last two columns.

    image4.png

  11. Then,  copy the Last Financial Year calculation, but replace the -1 with -2

    image22.png

  12. Then, click Save.

    image2.png

It pulls up the corresponding months' results into the format that you want. There are lots of ways you can customize this report further, looking at running totals, looking at daily versions, and adding a goal for growth.

Was this article helpful?

0 out of 0 found this helpful