Before You Begin
This tutorial shows you how to define dataset filters to limit data for all users of the dataset in Oracle Analytics. When you create a dataset filter, Oracle Analytics applies the filter when the data is retrieved such as when a workbook is created using the dataset.
This tutorial shows you how to create a filter on a dataset that contains multiple tables.
Background
You can create dataset filters for single table and multiple table datasets.
What Do You Need?
- Access to Oracle Analytics
- Ability to connect a relational data source such as Oracle Autonomous AI Lakehouse or Oracle AI Database
- Access to the Oracle sample SH schema to perform the steps in this tutorial, see Installing Sample Schemas
Create a Dataset
In this section, you create a dataset from an Oracle AI Database.
- Sign in to Oracle Analytics. On your home page, click Create Dataset.
- In Create Dataset, click your Oracle AI Database connection with the SH schema.
- In the Connections
pane, expand Schemas, and then expand the SH schema. - Under the SH schema, select the SALES table and drag it to the Join diagram.
- In the SH schema, hold down the Ctrl key, select CHANNELS, CUSTOMERS, and PRODUCTS, and then drag them to the Join Diagram.
Oracle Analytics automatically creates the joins between the tables.
- In the Join Diagram, right-click SALES and select Preserve Grain.

Description of the illustration multi_table_dataset.png - Click Save
. In Save Dataset As, enter a Name and click OK.
Create a Dataset Filter
In this section, you create an expression dataset filter that uses columns from three tables.
- In the Join Diagram, click Dataset Filter
to show the dataset filter bar. - Click Add Filter
. - In Expression Filter, enter
Electronics Salesin Label. - In Description, enter
Electronics sales over $100 by men. - In the expression field, enter
PROD_and select PROD_CATEGORY. Click Show available functions
. - In Available functions, expand Operators and double-click the equals symbol (=). To complete the expression:
- Enter
'Electronics' - Enter
AND - Enter
AMOUNT_and select AMOUNT_SOLD - In Available functions, double-click the greater than symbol (>), and then enter
100 - Enter
AND, and enterCUST_, select CUST_GENDER - In Available functions, double-click the equals symbol (=), and then enter
'M'
- Enter
- Click Validate.

Description of the illustration dataset_filter_exp.png - Click Apply. Click Save
.
Test the Filter
In this section, you create a workbook and add a visualization to test the dataset filter.
- Click Create Workbook.
- In the Data
pane, expand SALES, PRODUCTS, and CUSTOMERS, then hold down the Ctrl key, and select PROD_CATEGORY, CUST_GENDER, and AMOUNT_SOLD. - Right-click, select Pick Visualization, and then select Table
.
Description of the illustration table_vis.png
Learn More
Define a Dataset Filter in Oracle Analytics
G53310-01
May 2026
Learn how to define dataset filters in a dataset with multiple tables 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.