Before You Begin
Learn how to define a set parameter data action in Oracle Analytics.
Background
In Oracle Analytics, the set parameter data action enables creating a data action that updates a chosen parameter with values from selected data points. In this tutorial, you create a button bar with buttons that are labeled with the data points represented in a visualization. When the consumer clicks a button, the set parameter data action is invoked to update the visualization.
What Do You Need?
- Access to Oracle Analytics
- Download sample_order_lines2023.xlsx to your computer
Create a Dataset
In this section, you create a dataset using the sample_order_lines2023.xlsx file.
- Sign in to Oracle Analytics.
- On your home page, click Create and click Dataset.
- In Create Dataset, click Drop data file here or click to browse, select the sample_order_lines2023.xlsx file, and then click Open.
- In Create Dataset Table from sample_order_lines2023.xlsx, click OK. Click Save
. - In Save Dataset As, enter sample_order_lines2023, and then click OK.

Description of the illustration sample_order_lines2023_ds.png
Create a Workbook with Visualizations
In this section, you create a workbook with a visualization showing sales by product sub categories.
- Click Create Workbook. Close the Insights panel.
- In the Data
pane, hold the Ctrl key, select Sales and Product Sub Category. Right-click, select Pick Visualization and select Horizontal Bar
. 
Description of the illustration sales_prodsubcat.png - In the Data pane, select Product Category and drag it to Filters in the Grammar pane.
- In the Product Category filter dialog, click Furniture, Office Supplies, and Technology as the values for the filter. Click outside of the dialog.
Create a Parameter and Data Action
In this section, you create a parameter on product category and create a set parameter data action.
- Click Parameters
. In the Parameters pane, click Menu
and select Add Parameter. - In Create Parameter, enter
Select a Product Categoryin Name. - Click Allow Multi Select. In Available Values, click Any
and select Column. - Click list
in the empty field and select Product Category from sample_order_lines2023. Click OK.
Description of the illustration create_param.png - Click Actions
. Click Create Action
. - In Create Action, enter
Set Categoryin Name. Click URL Navigation
in Type and select Set Parameter. - In Requires Data, click On to disable this requirement. In Parameter, click None and click Select a Product Category. Click Create.

Description of the illustration create_set_param_da.png - Click the Sales by Product Sub Category visualization.
- In the Grammar
, right-click Product Category in Filters and select Edit Filter. Click Bind to Parameter
, click Select a Product Category. Click outside the dialog. The parameter icon changes color to blue
when the filter is bound to a parameter.
Description of the illustration bound_vis_filter.png
Create a Button Bar
In this section, you create a button bar with three buttons that represent each product category. The buttons enable your consumers to select the sales data to view in the visualization.
- Click Visualizations
. In the Visualizations pane, select Button Bar
and drag it to the canvas above the horizontal bar visualization.
Description of the illustration button_bar_control.png - Click Properties
. In Properties, click Controls
. In Add Controls, click
twice to add two buttons to the button bar. - Enter
Furniturein the Label row of the first button. EnterOffice Suppliesin the Label row of the second button and enterTechnologyin the Label row of the third button. - In the Furniture button properties, click None in the Action row, click Select Category. Click Edit
. In Set Action Value, select Furniture and click Set. - In the Office Supplies button properties, click None in the Action row, click Select Category. Click Edit
. In Set Action Value, select Office Supplies and click Set. - In the Technology button properties, click None in the Action row, click Select Category. Click Edit
. In Set Action Value, select Technology and click Set.
Description of the illustration three_buttons.png
Test the Set Parameter Data Action
In this section, you test the buttons and the set parameter data action.
- Click Save
. In Save Workbook, enter a Name and click Save. - Click Preview
. - In Preview, click Furniture.

Description of the illustration furniture_sales.png
Learn More
Define a Set Parameter Data Action in Oracle Analytics
G53079-01
May 2026
Learn how to use the Set Parameter data action 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.