Reference for Budgets

This guide lists the predefined objects in Resource Analytics for Budgets. You can find information about views, entity relationships, subject areas, and sample queries.

Views

This section provides information about views within Resource Analytics Budgets and their columns, data types, keys, and the referred view and column names. The following views are available:

Budgets Views
NameDescription
BUDGETS_BUDGET_DIM_V This view stores information on budgets.
BUDGETS_ALERT_RULE_DIM_V This view stores information on alert rules for budgets.
BUDGETS_FACT_V Fact table for budgets.

The suffixes in the view names specify the view type:

  • FACT_V: Fact
  • DIM_V: Dimension

Relationship Diagram

This section provides diagrams that define the logical relationship of a fact table with different dimension tables.

The contents of each view and their relationships are listed in the following file: Budgets views.

This diagram shows the relationship of the Budgets fact view with different dimension views.

BUDGETS_FACT_V
Relationship diagram showing the fact table, BUDGETS_FACT_V.

Relationships exist among dimensions. Dimensions can be joined directly to each other. This diagram shows the relationship between dimension views.

BUDGETS_ALERT_RULE_DIM_V
Relationship diagram showing the dimension table, BUDGETS_ALERT_RULE_DIM_V.

Sample Queries

Sample queries for Budgets.

Show the actual and forecasted spend of all active budgets:
SELECT
    BUDGET_ID,
    DISPLAY_NAME,
    REGION,
    COMPARTMENT_ID,
    LIFECYCLE_STATE,
    ACTUAL_SPEND,
    FORECASTED_SPEND
FROM
    OCIRA.BUDGET_FACT_V
WHERE
    LIFECYCLE_STATE = 'ACTIVE'               
    AND (ACTUAL_SPEND IS NOT NULL
         OR FORECASTED_SPEND IS NOT NULL);
Show the details of active alert rules:
SELECT
    ID,                          
    BUDGET_ID,                         
    COMPARTMENT_ID,                    
    DISPLAY_NAME,                     
    THRESHOLD,                      
    THRESHOLD_TYPE,                    
    TYPE,                             
    LIFECYCLE_STATE           
FROM
    OCIRA.BUDGETS_ALERT_RULE_DIM_V
WHERE
    LIFECYCLE_STATE = 'ACTIVE'         
    AND THRESHOLD IS NOT NULL;

Data Lineage

The Customer Experience Semantic Model Lineage spreadsheet and Metric Calculation Logic spreadsheet for Budgets provides an end-to-end data lineage summary report for physical and logical relationships in your data.

For more information, see Data Lineage.

Subject Areas

This section provides information on the subject areas with data you maintain in Budgets. These subject areas, with their corresponding data, are available for you to use when creating and editing analyses and reports. The information for each subject area includes:

  • Description of the subject area.

  • Business questions that can be answered by data in the subject area, with a link to more detailed information about each business question.

  • Job-specific groups and duty roles that can be used to secure access to the subject area, with a link to more detailed information about each job role and duty role.

  • Primary navigation to the work area that's represented by the subject area.

  • Time reporting considerations in using the subject area, such as whether the subject area reports historical data or only the current data. Historical reporting refers to reporting on historical transactional data in a subject area. With a few exceptions, all dimensional data are current as of the primary transaction dates or system date.

  • The lowest grain of transactional data in a subject area. The lowest transactional data grain decides how data are joined in a report.

  • Special considerations, tips, and things to look out for in using the subject area to create analyses and reports.

The subject area is: