Before You Begin

This tutorial shows you how to add a custom knowledge reference file containing date constructs such as fiscal year used by your organization in Oracle Analytics.

Background

You can use Oracle Analytics custom knowledge to store defined fiscal year, quarters or other significant dates used in your enterprise. You might have a fiscal calendar that doesn't start with January 1st but instead starts with July 1st or September 1st. Oracle Analytics uses the custom knowledge reference file to suggest data columns that you can add to your dataset.

To identify the beginning and ending of the fiscal year, quarters, and the associated dates, you create a file that contains these definitions and upload that file to Oracle Analytics. You can use a comma separated file (.csv) or an Excel spreadsheet file to create your custom knowledge reference file.

What Do You Need?

Upload Your Custom Knowledge Reference File

In this section, you use your administrative privileges to upload a file to provide custom knowledge about fiscal year.

  1. Sign in to Oracle Analytics with your administrator privileges.
  2. On the Home page, click Navigator Navigator icon. In the Navigator, click Console.
  3. In the Console, click Data Enrichments.
  4. Under Custom Knowledge, click Add Custom Knowledge Add custom knowledge icon. In File Upload, select fiscal_calendar.xlsx and click Open.


    Description of create_fy_custom_knowledge.png follows
    Description of the illustration create_fy_custom_knowledge.png
  5. In Create Custom Knowledge from fiscal_calendar.xlsx, click OK.
  6. Under Custom Knowledge, click menu menu icon in the fiscal_calendar row and select Inspect.
  7. In Inspect, click Data Elements to view the fiscal_calendar custom reference columns.


    Description of inspect_fy_cr.png follows
    Description of the illustration inspect_fy_cr.png
  8. Click Close. Click Go back Go back icon. On the Console page, Navigator Navigator icon , and then click Home Home page icon.

Create a Dataset

In this section, you create a dataset to see the recommendations about fiscal year that are available to add to the dataset.

  1. On the Home page, click Create and click Dataset.
  2. In Create Dataset, click Drop data file here or click to browse. In File Upload, select sample_order_lines2023.xlsx and click Open.
  3. In Create Dataset Table from sample_order_lines2023.xlsx, click OK.


    Description of join_diagram.png follows
    Description of the illustration join_diagram.png
  4. Click sample_order_lines2023 tab.
  5. Click the Ship Date column. In the Recommendations list, click Extract Quarter from Ship Date.


    Oracle Analytics adds a new column for each of the selected recommendations to the dataset.

    Description of ship_date_qtr.png follows
    Description of the illustration ship_date_qtr.png
  6. Click the Order Date column. In the Recommendations list, click Extract Quarter from Order Date.


    Description of order_date_qtr.png follows
    Description of the illustration order_date_qtr.png
  7. Click Save Save icon to add the columns to your dataset. In Save Dataset As, enter a Name and click OK.

Learn More