Before you Begin
This tutorial shows you how to create a tile visualization with multiple measures and an accompanying spark chart for the primary measure in Oracle Analytics.
Background
You can use a tile visualization to show multiple aggregate measures. Oracle Analytics designates the first measure in the tile as the primary measure. Additional measures are secondary measures. You can add a spark chart to display information about the primary measure and an attribute in your dataset. In this tutorial, the spark chart shows total sales as the primary measure and customer segment as the attribute. You can up to five measures in a tile visualization.
You also update some properties in the tile visualization, make property changes to the default spark chart, and then duplicate the tile visualization and change the visualization type.
What Do You Need?
- Access to Oracle Analytics
- Download sample_order_lines.xlsx to your computer
Create a Dataset
In this section, you create a dataset using the sample_order_lines.xlsx file.
- Sign in to Oracle Analytics.
- On the Home page, click Create, and then click Dataset.
- In Create Dataset, click Drop data file here or click to browse.
- In Create Dataset Table from sample_order_lines.xlsx, click OK.
- Click Save . In Save Dataset As, enter
sample_order_lines
, and then click OK.
Create a Tile Visualization
In this section, you create a visualization for a measure.
- In the sample_order_lines dataset, click Create Workbook.
- In the Data pane, drag Sales to the canvas.
Oracle Analytics creates a tile visualization that fills the entire canvas.
Modify the Canvas Layout
In this section, you update the canvas properties to use the freeform layout to control the size of the visualization and layout on the canvas.
- Hover over the Canvas 1 tab, click Menu , and then select Canvas Properties.
- In Canvas Properties, click the Auto Fit in the Layout row, select Freeform, and then click OK.
- In the canvas, grab a corner anchor to resize the visualization.
The freeform layout enables resizing and moving any visualization on the canvas.
Create a Spark Chart
In this section, you create a spark chart in the tile visualization by adding an attribute.
- In the Data pane, select Customer Segment and drag it to Category (Chart) in the Grammar pane.
Oracle Analytics creates a spark chart of Sales by Customer Segment.
- Hover over the spark chart to display the values in the Line With Area spark chart.
- In the Data pane, hold down the Ctrl key, select Shipping Cost, Discount, and Profit. Drag and release them under Sales in Values.
Oracle Analytics adds the measures to the tile visualization. The spark chart remains associated with the primary (first) measure in the tile.
Update the Visualization's Properties
In this section, you modify the default settings for the visualization.
- Click Properties .
- In the Title row, click None, select Custom, and then enter
Sales by Customer Segment
. - In Title Font, click Auto, click Comic Sans MS, and then click B (for bold).
- In the Chart row, click Line With Area and select Line.
- In the Color row, click Auto, and then click Custom. In the Custom Color row, click the square . In Custom Color, click a color such as blue or enter
#1bbed0
for blue and click OK. - In the Width row, click Auto and select Large.
- In the High/Low Marks row, click Hide to select Show.
- In the Reference Line row, click None and select Average.
Duplicate the Visualization
In this section, you duplicate the tile spark chart visualization and change the visualization type to provide another view of the data.
- In the tile spark chart visualization hover over the toolbar, click Menu , click Edit, and then click Duplicate Visualization.
In the freeform layout, the duplicate visualization is on top of the original visualization.
- Hover over the second visualization and move it to the side of or below the first visualization.
- In the duplicate visualization, click Change Visualization Type , select Table .
Learn More
Create a Tile Visualization with Multiple Measures in Oracle Analytics
F83170-01
July 2023
Copyright © 2023, Oracle and/or its affiliates.
Learn how to create a tile visualization with a spark chart that summarizes facts 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.