Before you Begin
Learn how to create a dataset with spreadsheet files.
Background
You create a dataset to analyze and visualize your data in ways that are meaningful to your organization. You populate the dataset with selections from a database connection, an Oracle data source, files, or a local subject area. In this tutorial, you use five spreadsheet files as the sources for a dataset, and then create a visualization from the dataset.
This is the first tutorial in the series Create Role-Based Filters. Creating role-based filters isn't required for this tutorial. However, if you want to learn about how to implement role-based filters, do the tutorials in the order listed.
- Create a Dataset from Multiple Files
- Create Role-Based Filters to Limit Data
What Do You Need?
- Access to Oracle Analytics
- Download the following files to your computer:
Create a Dataset
In this section, you add the first spreadsheet file. You also disable the Auto Join Tables function so that you can manually create the joins.
- Sign in to Oracle Analytics.
- On the Home page, click Create, and then click Dataset.
- In Create Dataset, click Drop file here or click to browse. In File Upload, click sales.xlsx, and then click Open.
- In Create Dataset Table from sales.xlsx, click OK.
Description of the illustration sales.png - Click Auto Join Tables
to disable the automatic joins created between tables.
when the toggle
appears on the left, the auto join functionality is disabled.
Add Files to the Dataset
In this section, you add the spreadsheet files to the unsaved dataset containing the sales data source.
- In Connections
, click Add, and then select Add File
. In File Upload, click customers.xlsx, and then click Open.
- In Create Dataset Table from customers.xlsx, click OK.
- In Connections
, click Add, and then select Add File
. In File Upload, click products.xlsx, and then click Open.
- In Create Dataset Table from products.xlsx, click OK.
- In Connections
, click Add, and then select Add File
. In File Upload, click salesrep.xlsx, and then click Open.
- In Create Dataset Table from salesreps.xlsx, click OK.
- In Connections
, click Add, and then select Add File
. In File Upload, click rephierarchy.xlsx, and then click Open.
- In Create Dataset Table from rephierarchy.xlsx, click OK.
Oracle Analytics freeform diagramming enables moving the tables in the canvas.
Description of the illustration dataset_tables.png
Add Joins
In this section, you create joins between the files added to the dataset.
- In the Join Diagram, hover over sales when the crosshair displays, drag a line to customers, and then release.
Description of the illustration join_crosshairs.png - Hover over sales when the crosshair displays, drag a line to products, and then release.
- Hover over sales when the crosshair displays, drag a line to salesreps, and then release.
- Hover over salesreps when the crosshair displays, drag a line to rephierarchy, and then release.
- In the Join Diagram, click the rephierarchy table to view the relationship between the sales VPs and the sales Reps.
Description of the illustration salesreps_to_rephierarchy.png - Click Save Dataset
. In Save Dataset As, enter
multi_file_dataset
as the Name, and then click OK.
Create a Visualization
- In the Join Diagram, click Create Workbook.
- In the Data
pane, expand the sales, customers, and products tables.
- Hold down the Ctrl key, click QUANTITY_SOLD in sales, click CUST_GENDER in customers, and click PROD_SUBCATEGORY in products. Right-click and select Create Best Visualization.
Description of the illustration bar_viz.png
Next Steps
Learn More
Create a Dataset from Multiple Files in Oracle Analytics
F74212-03
March 2025
Learn how to create a single dataset from multiple source files 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.