Skip to main content
Skip table of contents

How-To: Integrate a fiscal calendar

Overview

This guide explains how to add fiscal calendar data to Certified Datasources.


Instructions

  • Find and access the client’s fiscal calendar datasource within Alli Data. Most of the client’s employ this naming convention for the datasource: fiscal_calendar

    9b9e2800-9b40-4578-98aa-3e1d303a19bd.png

  • Once we have identified that the client has a fiscal_calendar datasource, click into the Explorer tab and hit the New Data Report button.

    image-20240228-224842.png
  • Choose the Edit Custom SQL option

    image-20240228-224932.png
  • Create a report titled fiscal_cal_adl with the following SQL query and hit the Publish button when done

Remember to cast the columns in this format:

fiscal_year

fiscal_quarter

fiscal_month

fiscal_week

image-20240228-225311.png

In the above example, the fiscal_calendar datasource for Best Western did not have columns for fiscal_quarter and fiscal_week so they were casted to null. The client that you are trying to onboard may have these columns in their datasource so check the schema before writing the query

  • The above step will ensure that the fiscal_cal_adl view is created in Redshift and ready to be integrated into your Certified Datasources.

  • To create the fiscal_cal_adl view in Bigquery, follow this documentation: Create BigQuery View

  • Currently, creating views in Snowflake through Alli Marketplace isn’t supported but an app to be able to do so is currently being worked on.

  • Once the view has been created across both data warehouses, run the ADL 2.0 - Refresh apps for the client and you should be able to see the fiscal calendar columns in any of the {report}_performance models like below

    image-20240306-185217.png


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.