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?
- Access to Oracle Analytics with administrator privileges
- Download fiscal_calendar.xlsx to your computer
- Download sample_order_lines2023.xlsx to your computer
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.
- Sign in to Oracle Analytics with your administrator privileges.
- On the Home page, click Navigator
. In the Navigator, click Console.
- In the Console, click Data Enrichments.
- Under Custom Knowledge, click Add Custom Knowledge
. In File Upload, select fiscal_calendar.xlsx and click Open.
Description of the illustration create_fy_custom_knowledge.png - In Create Custom Knowledge from fiscal_calendar.xlsx, click OK.
- Under Custom Knowledge, click menu
in the fiscal_calendar row and select Inspect.
- In Inspect, click Data Elements to view the fiscal_calendar custom reference columns.
Description of the illustration inspect_fy_cr.png - Click Close. Click Go back
. On the Console page, Navigator
, and then click Home
.
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.
- On the Home page, click Create and click Dataset.
- In Create Dataset, click Drop data file here or click to browse. In File Upload, select sample_order_lines2023.xlsx and click Open.
- In Create Dataset Table from sample_order_lines2023.xlsx, click OK.
Description of the illustration join_diagram.png - Click sample_order_lines2023 tab.
- 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 the illustration ship_date_qtr.png - Click the Order Date column. In the Recommendations list, click Extract Quarter from Order Date.
Description of the illustration order_date_qtr.png - Click Save
to add the columns to your dataset. In Save Dataset As, enter a Name and click OK.
Learn More
Add Dates as Custom Knowledge Keys in Oracle Analytics
G33326-01
July 2025
Learn how to add a custom date reference file to use for date recommendations in Oracle Analytics.
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or "commercial computer software documentation" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the applicable contract. The terms governing the U.S. Government's use of Oracle cloud services are defined by the applicable contract for such services. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc, and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.