Users Guide Oracle Data Visualization Desktop
Users Guide Oracle Data Visualization Desktop
Users Guide Oracle Data Visualization Desktop
E70158-16
October 2018
Oracle Fusion Middleware User’s Guide for Oracle Data Visualization Desktop,
E70158-16
Copyright © 2016, 2018, Oracle and/or its affiliates. All rights reserved.
Contributors: Oracle Business Intelligence development, product management, and quality assurance teams
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.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
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 installed on the hardware, and/or documentation, delivered to U.S. Government end users are
"commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-
specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the
programs, including any operating system, integrated software, any programs installed on the hardware,
and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
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 Xeon 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, Opteron,
the AMD logo, and the AMD Opteron 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.
Contents
Preface
Audience x
Documentation Accessibility x
Related Resources x
Conventions xi
iii
Use Different Map Backgrounds in a Project 2-18
Use Color to Interpret Data Values in Map Visualizations 2-19
Add Custom Map Layers 2-20
Update Custom Map Layers 2-21
Apply Multiple Data Layers on a Single Map Visualization 2-22
Create Heatmap Layers on a Map Visualization 2-24
Make Maps Available to Users 2-25
Make Map Backgrounds Available to Users 2-25
Sort and Select Data in Visualization Canvases 2-26
Replace a Data Set in a Project 2-27
Remove a Data Set from a Project 2-28
Analyze Your Data Set Using Machine Learning 2-28
About Using Machine Learning to Discover Data Insights 2-28
Add Data Insights to Visualizations 2-29
About Warnings for Data Issues in Visualizations 2-30
iv
About Composing Expressions 4-5
Use Data Actions to Connect to Canvases and External URLs 4-5
Create Data Actions to Connect Visualization Canvases 4-6
Create Data Actions to Connect to External URLs from Visualization Canvases 4-7
Apply Data Actions to Visualization Canvases 4-7
Search Data, Projects, and Visualizations 4-8
Index Data for Search and BI Ask 4-8
Visualize Data with BI Ask 4-9
Search for Saved Projects and Visualizations 4-10
Search Tips 4-11
Save Your Changes Automatically 4-12
v
Add a Spreadsheet from Dropbox or Google Drive 5-19
vi
About Editing a Data Flow 9-3
Create a Data Flow 9-4
Add Filters to a Data Flow 9-5
Add Aggregates to a Data Flow 9-5
Merge Columns in a Data Flow 9-6
Merge Rows in a Data Flow 9-6
Create a Bin Column in a Data Flow 9-7
Create a Sequence of Data Flows 9-8
Create a Group in a Data Flow 9-8
Add Cumulative Values to a Data Flow 9-9
Add a Time Series Forecast to a Data Flow 9-10
Add a Sentiment Analysis to a Data Flow 9-11
Apply Custom Scripts to a Data Flow 9-11
Branch Out a Data Flow into Multiple Connections 9-11
Apply Incremental Processing to a Data Flow 9-13
Customize the Names and Descriptions of Data Flow Steps 9-13
Schedule a Data Flow 9-13
Create an Essbase Cube in a Data Flow 9-14
Execute a Data Flow 9-15
Save Output Data from a Data Flow 9-15
Run a Saved Data Flow 9-17
Apply Parameters to a Data Flow 9-17
Modify Parameter Prompts when You Run or Schedule a Data Flow 9-18
vii
A Frequently Asked Questions
FAQs to Install Data Visualization Desktop A-1
FAQs for Data Visualization Projects and Data Sources A-2
B Troubleshoot
Troubleshoot Data Visualization Issues B-1
viii
Types F-10
ix
Preface
Preface
Learn how to explore data using Oracle Data Visualization Desktop.
Topics
• Audience
• Documentation Accessibility
• Related Resources
• Conventions
Audience
User's Guide for Oracle Data Visualization Desktop is intended for business users who
use Oracle Data Visualization Desktop to upload and query data, analyze data within
visualizations, work with their favorite projects, and import and export their projects.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle
Accessibility Program website at http://www.oracle.com/pls/topic/lookup?
ctx=acc&id=docacc.
Related Resources
These related Oracle resources provide more information.
• Oracle Business Analytics Product Information
• Oracle Community Forum
• Oracle Data Visualization Desktop Installation Download
• Oracle Data Visualization Samples
x
Preface
Conventions
Conventions used in this document are described in this topic.
Text Conventions
Convention Meaning
boldface Boldface type indicates graphical user interface elements associated
with an action, or terms defined in text or the glossary.
italic Italic type indicates book titles, emphasis, or placeholder variables for
which you supply particular values.
monospace Monospace type indicates commands within a paragraph, URLs, code
in examples, text that appears on the screen, or text that you enter.
xi
1
Get Started with Oracle Data Visualization
Desktop
This topic describes the benefits of using Data Visualization Desktop and explains how
to get started using the samples provided.
Video
Topics:
• About Oracle Data Visualization Desktop
• Get Started with Samples
1-1
Chapter 1
Get Started with Samples
1-2
2
Explore, Visualize, and Analyze Data
This topic describes the many ways that you can explore and analyze your data.
Video
Topics:
• Typical Workflow to Visualize Data
• Create a Project and Add Data Sets
• Add Data from Data Sets to Visualization Canvases
• Add Advanced Analytics to Visualizations
• Create Calculated Data Elements in a Data Set
• Undo and Redo Edits
• Refresh Data in a Project
• Adjust the Visualization Canvas Layout
• Change Visualization Types
• Adjust Visualization Properties
• Assign Color to Visualize Data
• Format Numeric Data Properties
• Apply Map Layers and Backgrounds to Enhance Visualizations
• Sort and Select Data in Visualization Canvases
• Replace a Data Set in a Project
• Remove a Data Set from a Project
• Analyze Your Data Set Using Machine Learning
• About Warnings for Data Issues in Visualizations
2-1
Chapter 2
Create a Project and Add Data Sets
2-2
Chapter 2
Add Data from Data Sets to Visualization Canvases
• You can transform your data set to improve the quality of your analysis and
visualization using data preparation script in the Prepare canvas. See Prepare
Your Data Set for Analysis.
Topics:
• Add Data to Blank Canvases
• About Adding Data to the Visualization Grammar Pane
• About Adding Data to the Visualization Assignment Pane
• Customize Tooltip Data
You must create a project or open an existing project and add one or more data sets
to the project before you can add data elements to a blank canvas.
1. Confirm that you’re working in the Visualize canvas.
2. Drag one or more data elements to the blank canvas or between visualizations on
the canvas.
A visualization is automatically created and the best visualization type and layout
are selected.
For example, if you add time and product attributes and a revenue measure to a
blank canvas, the data elements are placed in the best locations and the Line
visualization type is selected.
If there are visualizations already on the canvas, then you can drag and drop data
elements between them.
2-3
Chapter 2
Add Data from Data Sets to Visualization Canvases
canvas. The Visualization Grammar Pane contains sections such as Columns, Rows,
Values, and Category.
You must create a project or open an existing project and add one or more data sets
to the project before you can add data elements to the Visualization Grammar Pane.
You can only drop data elements based on attribute and type onto a specific
Visualization Grammar Pane section.
Confirm that you’re working in the Visualize canvas. Use one of the following methods
to add data elements to the Visualization Grammar Pane:
• Drag and drop one or more data elements from the Data Elements pane to the
Visualization Grammar Pane in the Visualize canvas.
The data elements are automatically positioned, and if necessary the visualization
changes to optimize its layout.
• Double-click data elements in the Data Elements pane to add them to the
Visualize canvas.
• Replace a data element by dragging it from the Data Elements pane and dropping
it over an existing data element.
• Swap data elements by dragging a data element already inside the Visualize
canvas and dropping it over another data element.
• Reorder data elements in the Visualization Grammar Pane section (for example,
Columns, Rows, Values) to optimize the visualization, if you’ve multiple data
elements in the Visualization Grammar Pane section.
• Remove a data element by selecting a data element in the Visualization Grammar
Pane, and click X.
You must create a project or open an existing project and add one or more data sets
to the project before you can add data elements to the visualization Assignment pane.
2-4
Chapter 2
Add Data from Data Sets to Visualization Canvases
Confirm that you’re working in the Visualize canvas. Use one of the following methods
to add data elements to the Visualization Assignment Pane
• When you drag and drop a data element to a visualization (but not to a specific
drop target), you'll see a blue outline around the recommended Assignments (for
example Rows, Columns) in the visualization. In addition, you can identify any
valid visualization Assignment because you'll see a green plus sign icon appear
next to your data element. The sections in the visualization Assignment pane are
the same as in the Visualization Grammar Pane.
After you drop data elements into the visualization Assignment pane or when you
move your cursor outside of the visualization, the Assignment pane disappears.
• To display the Assignment pane again, on the visualization toolbar, click Show
Assignments.
You can also do this to keep the visualization Assignment pane in place while you
work.
2-5
Chapter 2
Add Advanced Analytics to Visualizations
Prerequisites
Before you can use analytic functions in Data Visualization:
2-6
Chapter 2
Add Advanced Analytics to Visualizations
• Create a project or visualization to which you can apply one or more analytic
functions.
Note:
Based on the selected Method or Reference functions, a line is displayed
in the visualization to highlight the value.
4. If you've selected the Line method, select from the following reference functions:
Reference Description
Function
Average Average value of the data element added to the visualization.
Median Median (middle) value of the data element added to the visualization.
Minimum Minimum value (lowest numeric value) of the data element added to the
visualization.
2-7
Chapter 2
Create Calculated Data Elements in a Data Set
Reference Description
Function
Maximum Maximum value (highest numeric value) of the data element added to
the visualization.
Percentile Percentile rank number ranks the percentile of the data element added
to the visualization.
Top N N value marks the highest values (ranked from highest to lowest) of the
data element added to the visualization.
Bottom N N value marks the lowest values (ranked from highest to lowest) of the
data element added to the visualization.
Constant Constant value highlights the constant value of the data element added
to the visualization.
5. If you've selected the Band method, add one or both of the following reference
functions:
• Custom - Select the to and from range of the data element values (such as
Median to Average).
• Standard Deviation - Select a value from 1 to 3 to show the standard
deviation for the selected value of the data element.
Note:
In the Data Element pane right-click and select Data Diagram to see joined
and not-joined data sets.
1. In the Visualize canvas navigate to the bottom of the Data Elements pane, right-
click My Calculations, and click Add Calculation to open the New Calculation
dialog.
2. In the expression builder pane, compose and edit an expression. See About
Composing Expressions.
2-8
Chapter 2
Undo and Redo Edits
Note:
You can't drag and drop a column into the expression builder pane
unless the column is joined to the data set. If you try to do so, you see an
error message.
3. Click Validate.
4. Specify a name, then click Save.
• When you’re working on a new project, click Menu on the project toolbar and
select Revert to undo all changes that you've made to the project. If you're
working on an existing project, click Revert to Saved.
2-9
Chapter 2
Adjust the Visualization Canvas Layout
copying and pasting or duplicating, you can modify the visualization by changing the
data elements, selecting a different visualization type, resizing it, and so on.
Here are the options available to alter or modify the format of the visualization canvas.
2-10
Chapter 2
Change Visualization Types
2. Select a visualization type. For example, change the visualization type from Pivot
to Treemap.
2-11
Chapter 2
Adjust Visualization Properties
When you change the visualization type, the data elements are moved to matching
drop target names. If an equivalent drop target doesn’t exist for the new
visualization type, then the data elements are moved to a Visualization Grammar
Pane section labeled Unused. You can then move them to the Visualization
Grammar Pane section you prefer.
Properties Description
Pane Tab
General Format title, type, legend, selection effect, and customize descriptions.
Axis Set horizontal and vertical value axis labels and start and end axis
values.
Data Sets Override the way the system automatically blends data from two data
sets.
Edge Labels Show or hide row or column totals and wrap label text.
Action Add URLs or links to insights in Tile, Image, and Text Box
visualizations.
If you use Chrome for Windows or Android, the Description text field
displays a Dictate button (microphone) that you can use to record an
audio description.
2-12
Chapter 2
Assign Color to Visualize Data
Properties Description
Pane Tab
Style Set the background and border color for Text visualizations.
Values Specify data value display options including the aggregation method
such as sum or average, and number formatting such as percent or
currency. You can specify the format for each value data element in the
visualization, for example, aggregation method, currency, data or
number format.
Date/Time Specify date and time display options including how you show the date
or time (for example, as Year, Quarter, Month, Week), what format to
use (for example, Auto or Custom).
Analytics Add reference lines, trend lines, and bands to display at the minimum or
maximum values of a measure included in the visualization.
2-13
Chapter 2
Assign Color to Visualize Data
• To edit color options for a visualization, highlight the visualization and click Menu
on the visualization toolbar and select Color. The available color options depend
on how the measures and attributes are set up in your visualization.
3. From the list, select the color palette that you want to apply to the visualization.
2-14
Chapter 2
Assign Color to Visualize Data
3. If you’re working with an attribute column, then click the box containing the color
assignment that you want to change. From the color picker dialog, select the color
that you want to assign to the value. Click OK.
2-15
Chapter 2
Format Numeric Data Properties
Reset Colors
You can experiment with visualization colors and then easily revert to the
visualization’s original colors.
• If your project contains multiple visualizations, click the visualization that you want
to reset the colors for. Click Menu on the visualization toolbar and select Color,
then select Reset Visualization Colors.
2-16
Chapter 2
Apply Map Layers and Backgrounds to Enhance Visualizations
Topics:
• Work with Map Backgrounds
• Enhance Visualizations with Map Backgrounds
• Use Different Map Backgrounds in a Project
• Use Color to Interpret Data Values in Map Visualizations
• Add Custom Map Layers
• Update Custom Map Layers
• Apply Multiple Data Layers on a Single Map Visualization
• Create Heatmap Layers on a Map Visualization
• Make Maps Available to Users
• Make Map Backgrounds Available to Users
2-17
Chapter 2
Apply Map Layers and Backgrounds to Enhance Visualizations
Property Description
Zoom Enable or disable zoom control.
Control
Scale Select a scale, such as mile.
Background Select a map background.
Map If you want to see the list of available map backgrounds, click Manage Map
Backgrounds to display the Map Background tab.
Note:
You can also open the Console page, click Maps, and select the
Map Backgrounds tab to see the available backgrounds list.
5. Click Save.
2-18
Chapter 2
Apply Map Layers and Backgrounds to Enhance Visualizations
Note:
If no default has been set, you can see an existing Oracle map
background.
2-19
Chapter 2
Apply Map Layers and Backgrounds to Enhance Visualizations
Section Description
Color Change the color for geometries displayed in the corresponding map
layer (for example, polygon fill color, bubble color) based on the values.
Size (Bubble) Change color bubble size based on the measure column values.
To change the size of the color bubble you’ve to drag and drop measure
columns only. The size shows the aggregated measure for a specific
geographic location in a map visualization.
Trellis Columns / Compare multiple map visualizations based on the column values using
Rows filters.
In the map visualization, you can also use the following color features to interpret
measure columns and attribute values:
• Legend - If the measure column or attribute has multiple values, then the legend
is displayed. Legends are grouped by Layer.
• Tooltip - Hover the mouse pointer over a color bubble to see the values in a
tooltip. If there are multiple values, then a Plus (+) symbol is displayed.
2-20
Chapter 2
Apply Map Layers and Backgrounds to Enhance Visualizations
If you wanted to use the Mexican_States.json file, the layer keys that you select must
match columns that you want to analyze from the Mexican States Data tables. For
example, if you know there is a data cell for the Mexican state Baja California then
select the corresponding name field in the JSON file to display state names in the Map
visualization. When you create a project and select column (such as State, and
HASC), then Mexican states are displayed on the map. When you hover the mouse
pointer over a state, the HASC code (such as MX BN) for each state is displayed on
the map.
1. Open the Console page and click Maps to display the Map Layers page.
The Map Layers page contains a Custom Map Layers section and a System Map
Layers section. The Custom Map Layers section displays the custom map layers
that you maintain.
Note:
You can disable or enable both a System Map Layer and a Custom Map
Layer, but you can’t add or delete a System Map Layer.
2. To add a custom map layer, click Add Custom Layer or drag and drop a JSON
file from File Explorer to the Custom Maps area.
3. Browse the Open dialog, and select a JSON file (for example,
Mexico_States.json).
The JSON file must be a GeoJSON file that conforms to the standard specified in
https://en.wikipedia.org/wiki/GeoJSON.
Note:
Custom layers with Line String geometry type isn't fully supported. The
Color (Bubble) and Size (Bubble) fields in map visualization grammar are
not applicable in the case of line geometries.
2-21
Chapter 2
Apply Map Layers and Backgrounds to Enhance Visualizations
The Map Layers page contains a Custom Map Layers section and a System Map
Layers section. The Custom Map Layers section displays the custom map layers
that you maintain.
2. Right-click the map layer, click Options, and then take the appropriate action:
• To view or make changes to the map layer settings, select Inspect.
The Map Layer dialog is displayed where you can update the Name,
Description, or the Layer Keys used in this layer.
• To upload the JSON file again, select Reload.
• To save the JSON file locally, select Download.
• To delete the custom map layer, select Delete.
You can disable or enable a System Map Layer and a Custom Map Layer, but
you can’t add or delete a System Map Layer.
3. Click the map layer to enable or disable it. For example, if you want to exclude
India States on the map, click the layer to disable it and remove it from searches.
4. To switch from using one map layer to another:
a. Select the desired columns from the project and select Map as the
visualization.
b. In the properties pane, select the Map tab to display the map properties.
c. Click the current Map Layer for example Mexican States. This displays a list
of available custom map layers that you can choose from.
d. Click the map layer that you want to use to match your data points.
2-22
Chapter 2
Apply Map Layers and Backgrounds to Enhance Visualizations
Option Description
Add Layer Add a new data layer on the map visualization.
Order Select one of the following: Bring to Front, Bring Forward, Send
Layer Backward, Send to Back to change the order of the overlay layers.
Hide Layer Hide a particular layer.
Delete Delete a particular layer.
Layer
Manage Display a specific layer options in the Data Layers tab of the properties
Layers pane.
• In the Data Layers tab of the properties pane, select the option for a specific
layer, as described in the following table:
Field Description
Name Select Auto or Custom. Enter a name if you select Custom.
Map Layer Select a specific map layer, such as world countries, world cities. Click
Manage Map Layers to modify the options for the custom map or
system map layer on the Console page.
Layer Type Select Polygon , Point, Heat Map, or Line.
Transparen Select the transparency value.
cy
Show Move the slider, or toggle the layer icon in the legend, to show or hide a
Layer specific layer in the map visualization.
Reorder Change the order of a specific layer in the layer series.
Layer
Remove Remove a selected layer.
Layer
• You can apply a Filter, such as a Range Filter or List Filter, to the map
visualization to refine the data shown for the attribute and measure columns in
all the data layers in the map. For example, you can select a measure or
2-23
Chapter 2
Apply Map Layers and Backgrounds to Enhance Visualizations
attribute for a layer, then apply filter to reduce the amount of data shown, and
add the same measure or attribute to the Color section of the Visualization
Grammar Pane.
Field Description
Name Select Auto or Custom. Enter a name if you select Custom.
Map Layer Select the map layer type, such as world cities, or other point layers.
Transparen Select the transparency value.
cy
Radius Select the radius value in pixels (px). The radius value is the extent of
influence of a measure around a point value on a map.
2-24
Chapter 2
Apply Map Layers and Backgrounds to Enhance Visualizations
Field Description
Color Select the color type of the heatmap, such as Spectrum Lite, Red-Yellow-
Green.
Interpolatio Select the interpolation method, such as Cumulative, Maximum, Minimum,
n and Average Constant.
The default interpolation method is automatically selected based on the
aggregation rule of the metric column or value that you’ve selected for the
layer.
Column Description
name
Default Shows which background map is the default (displays a tick symbol when
selected).
Include Shows whether a map background is included or excluded as an available
option to users (displays a tick symbol when selected).
Name Displays the name of the map background.
Description Describes the map background. For example, for Oracle Maps the
description is "General reference world map from Oracle".
Modified Shows the most recent date that the map background was modified in Data
Visualization.
2-25
Chapter 2
Sort and Select Data in Visualization Canvases
Note:
For third-party map providers (other than Oracle), you must obtain Maps
API access keys from the respective provider (for example, Google or
Baidu). Those providers may independently charge you based on your
usage, as described in their respective terms of agreement.
Note:
You must sign up with the provider to be able to add and use any of
these map types.
• To use the Google Maps tiles, you must obtain a Google Maps API
access key from Google. Google prompts you to enter your Maps
API access key and, when applicable, your Google “Client ID”.
Usage of the tiles must meet the terms of service specified by
Google in the Google Developers Site Terms of Service.
• To use the Baidu Maps tiles, you must obtain a Baidu Maps API
access key from Baidu. Baidu prompts you to enter your Maps API
access key. Usage of the tiles must meet the terms of service
specified by Baidu in the Baidu User Agreement.
5. Select a default map type if applicable and enter a helpful description if needed.
6. Click Add to include this map in the list of currently available map backgrounds.
Data Visualization displays a message when the map background is successfully
added.
2-26
Chapter 2
Replace a Data Set in a Project
Note:
– Only data elements of the same type are displayed in the data
element selection dialog.
– You can navigate back to select a different data set.
2-27
Chapter 2
Remove a Data Set from a Project
4. Click Replace.
The new data set replaces the existing data set in the project. You see a notification if
you’ve selected a data set that is joined to other data sets in the project. Review and
adjust the joins in the project’s Data Diagram.
In the data-mapping table based on the selection, the data is updated throughout the
project. For example, if you map a data element to None, the specific data is removed
from the visualizations, calculations, and filters.
Topics:
• About Using Machine Learning to Discover Data Insights
• Add Data Insights to Visualizations
2-28
Chapter 2
Analyze Your Data Set Using Machine Learning
Before you start, install machine learning on the Windows or Mac machine where you
installed Data Visualization Desktop. See How do I install Machine Learning for
Desktop?
After you’ve installed machine learning, you can start uncovering insights in your data.
See Add Data Insights to Visualizations.
Note:
You must install the Data Visualization machine learning component to
display the Explain option.
1. Create or open a data visualization project. Confirm that you’re working in the
Visualize canvas.
2. In the Data Elements pane, right-click a data element (attribute or measure) and
select Explain <Data Element> to display the Explain <Data Element> dialog
tabs:
• Basic Facts about <Data Element> - Shows the basic distribution of the data
element (attribute or measure) values across the data set and its breakdown
against each one of the measures in the data set.
• Key Drivers of <Data Element> - Shows data elements (attributes or
measures) that are more highly correlated to the outcome for the selected
data. The charts showing the distribution of the selected attribute value across
each of the correlated attributes values is displayed.
• Segments that Explain <Data Element> - Shows the segments or group in
the data set, after examining all the records, that can predict the value of the
selected data element. You can select a particular segment or group and then
continue to analyze it.
• Anomalies of <Data Element> - Shows the group of anomalies or unusual
values in the data set that you can relate to the selected data element
(attribute or measure). You can review and select particular group of
anomalies.
3. Use the Explain dialog to help you configure your visualizations.
• When you click a data element (attribute or measure), information for the
selected data element is highlighted in the segments below.
• You can select more than one data element (attribute or measure) at the same
time to see results in the segments.
• You can also sort how the information is displayed in the Segments (High to
Low, or Low to High, group by Color, or sort by data element Value).
• For each Segment in the decision tree, summary rules for the percentage of
the data element and other metadata about the section are displayed. For
example, a certain Segment might show that a particular percentage of the
selected attribute (data element) belongs to a specific group like location, data
2-29
Chapter 2
About Warnings for Data Issues in Visualizations
point, another attribute, or measure. You can then select a specific group, like
location, to analyze the selected attribute.
• The Anomalies section finds data points that don't fit the expected pattern.
4. Click the check mark when you hover the mouse pointer over any of the data
insight charts to select a specific chart.
5. Click Add Selected to add the charts you’ve selected as different visualizations in
your project’s visualization canvas. You can manage data insight visualizations
like any other visualizations you’ve manually created on the canvas.
2-30
3
Create and Apply Filters to Visualize Data
This topic describes how you can use filters to find and focus on the data you want to
explore.
Topics:
• Typical Workflow to Create and Apply Filters
• About Filters and Filter Types
• How Visualizations and Filters Interact
• Synchronize Visualizations in a Project
• About Automatically Applied Filters
• Create Filters on a Project
• Create Filters on a Visualization
• Move Filter Panels
• Apply Range Filters
• Apply Top Bottom N Filters
• Apply List Filters
• Apply Date Filters
• Build Expression Filters
3-1
Chapter 3
About Filters and Filter Types
Topics:
• How Data Sets Interact with Filters
• How the Number of Data Sets Interact with Filters
3-2
Chapter 3
Synchronize Visualizations in a Project
You can use the Limit Values By options to remove or limit how the filters in the filter
bar restrict each other.
3-3
Chapter 3
About Automatically Applied Filters
Note:
• When you hover the mouse pointer over a visualization to see the filters
applied to the visualization, any filter that isn't applied to the visualization
is grayed out.
• Any visualization-level filters are applied only to the visualization.
• When Synchronize Visualizations is off (deselected), then analytic
actions such as Drill affect the visualization to which you applied the
action.
3-4
Chapter 3
Create Filters on a Visualization
• By default, the Auto option causes the filter to limit other related filters in the
filter bar.
For example, if you’ve filters for Product Category and Product Name, and if
you set the Product Category filter to Furniture and Office Supplies, then the
options in the Product Name filter value pick list is limited to the product
names of furniture and office supplies. You can select None to turn this limit
functionality off.
• You can specify any individual filter in the filter bar that you don’t want to limit.
For example, if you have filters for Product Category, Product Sub Category,
and Product Name, and in the Limit Value By option for the Product Category
filter you click Product Sub Category, then the product subcategory filter
shows all values and not a list of values limited by what you select for Product
Category. However, the values shown for Product Name is limited to what you
select for Product Category.
5. Optionally, click the filter bar menu or right-click and select Auto-Apply Filters,
then click Off to turn off the automatic apply. When you turn off the automatic
apply, then each filter’s selection displays an Apply button that you must click to
apply the filter to the visualizations on the canvas.
6. Click the filter bar menu or right-click and select Pin to All canvases of a filter to
apply a filter to all canvases in the project.
Note:
You can also go to the filter bar and perform the following steps:
• Select a filter and right-click, then select Delete to remove it from the
project.
• Right-click and select Clear All Filter Selections to clear the selection
list of all the filters in the filter bar.
• Right-click and select Remove All Filters to remove all the filters in the
filter bar.
3-5
Chapter 3
Move Filter Panels
Note:
To use data elements of a data set as a filter in the visualization of
another data set, you’ve to join both the data set, before using the data
elements as filters.
4. Set the filter values. How you set the values depends upon the data type that
you’re filtering.
• To set filters on columns such as Cost or Quantity Ordered, see Apply Range
Filters.
• To set filters on columns such as Product Category or Product Name, see
Apply List Filters.
• To set filters on columns such as Ship Date or Order Date, see Apply Date
Filters.
5. (Optional) Click the filter bar menu or right-click and click Auto-Apply Filters, then
select Off to turn off automatic apply for all filters on the canvas and within the
visualization. When you turn off automatic apply, then each filter’s selection
displays an Apply button that you must click to apply the filter to the visualization.
3-6
Chapter 3
Apply Range Filters
• To reattach the panel to the filter bar, click the reattach panel icon.
3-7
Chapter 3
Apply Top Bottom N Filters
3-8
Chapter 3
Apply Date Filters
• In the Selections list click a member to remove it from the list of selections.
• In the Selections list, you can click the eye icon next to a member to cause it
to be filtered out but not removed from the selections list.
• In the Selections list, you can click the actions icon at the top, and select
Exclude Selections to exclude the members in the Selections list.
• Click Add All or Remove All at the bottom of the filter panel to add or remove
all members to or from the Selections list at one time.
4. Click outside of the filter to close the filter panel.
3-9
4
Use Other Functions to Visualize Data
This topic describes other functions that you can use to visualize your data.
Topics:
• Typical Workflow to Prepare, Connect and Search Artifacts
• Build Stories
• Identify Content with Thumbnails
• Manage Custom Plug-ins
• About Composing Expressions
• Use Data Actions to Connect to Canvases and External URLs
• Search Data, Projects, and Visualizations
• Save Your Changes Automatically
4-1
Chapter 4
Build Stories
Build Stories
This topic covers how you capture insights and group them into stories.
Topics:
• Capture Insights
• Create Stories
• View Streamlined Content
Capture Insights
As you explore data in visualizations, you can capture memorable information in one
or more insights, which build your story. For example, you might notice before and
after trends in your data that you’d like to add to a story to present to colleagues.
Using insights, you can take a snapshot of any information that you see in a
visualization and keep track of any moments of sudden realization while you work with
the data. You can share insights in the form of a story, but you don't have to. Your
insights can remain a list of personal moments of realization that you can go back to,
and perhaps explore more. You can combine multiple insights in a story. You can also
link insights to visualizations using the Interaction property.
Note:
Insights don't take a snapshot of data. They take a snapshot of the project
definition at a certain point in time.
Create Stories
After you begin creating insights within a story, you can cultivate the look and feel of
that story. For example, you can rearrange insights, include another insight, or hide an
insight title. Each project can have one story comprising multiple pages (canvas).
4-2
Chapter 4
Build Stories
Note:
You can modify the content on a canvas for an insight. For example, you
can add a trend line, change the chart type, or add a text visualization.
After changing an insight, you'll notice that its corresponding wedge (in
the Insight pane) or dot (in the Story Navigator) changes from solid blue
to hollow. When you select Update to apply the changes to the insight,
you'll see the wedge or dot return to solid blue.
4-3
Chapter 4
Identify Content with Thumbnails
Note:
If the uploaded custom plug-in file name is the same as an existing
custom plug-in, then the uploaded file replaces the existing one and is
displayed in visualizations.
4-4
Chapter 4
About Composing Expressions
Note:
If you delete a custom visualization type that’s used in a project, then
that project displays an error message in place of the visualization.
Either click Delete to remove the visualization, or upload the same
custom plug-in so that the visualization renders correctly.
Topics:
• Create Data Actions to Connect Visualization Canvases
• Create Data Actions to Connect to External URLs from Visualization Canvases
• Apply Data Actions to Visualization Canvases
4-5
Chapter 4
Use Data Actions to Connect to Canvases and External URLs
4-6
Chapter 4
Use Data Actions to Connect to Canvases and External URLs
7. Click OK to save.
8. In the Canvas, click a cell, or use Ctrl-click to select multiple cells.
9. Right-click and select Navigate to <URL name> to display the result.
Selecting the cells determines the parameters to pass.
1. Create or open a project. Confirm that you’re working in the Visualize canvas.
2. On the canvas that contains a Data Action link leading to another canvas or URL,
perform the following steps:
a. Right-click a data element, or select multiple elements (using Crtl-click).
b. Select Data Actions from the menu.
c. Complete the Project Properties dialog.
4-7
Chapter 4
Search Data, Projects, and Visualizations
The name of the data actions that apply in the current view context are displayed
in the context menu.
All the values defined in the Anchor To field must be available in the view context
in order for a data action to be displayed in the context menu.
Note the following rules on matching data elements passed as values with data
elements on the target canvas:
• If the same data element is matched in the target project's canvas, and if the
target canvas doesn't have an existing canvas filter for the data element, a
new canvas filter is added. If there is an existing canvas filter, it’s replaced by
the value from the source project's canvas.
• If the expected data set is unavailable but a different data set is available, the
match is made by using the column name and data type in the different data
set, and the filter is added to that.
• If there are multiple column matches by name and data type, then the filter is
added to all those columns in the target project or canvas.
The data action navigates to the target cell or URL that is mapped and filters the
data displayed based on the values specified in the Data Actions dialog.
Note:
Pass Values context consists of data elements used in the visualization
from which the data action is invoked. The Pass Values context doesn't
include data elements in the project, canvas, or visualization level filters.
Topics:
• Index Data for Search and BI Ask
• Visualize Data with BI Ask
• Search for Saved Projects and Visualizations
• Search Tips
4-8
Chapter 4
Search Data, Projects, and Visualizations
Note that no database column data is indexed and therefore that data isn’t available in
your search results.
1. On the Home Page, click the What are you interested in field.
2. Enter your criteria. As you enter the information, the application returns search
results in a drop-down list. If you select an item from this drop-down list, then your
visualized data is displayed.
• What you select determines the data set for the visualization, and all other
criteria that you enter is limited to columns or values in that data set.
The name of the data set you’re choosing from is displayed in the right side of
the What are you interested in field. Note the following BI Ask search and
visualization example:
• You can search for projects and visualizations or use BI Ask. When you enter
your initial search criteria, the drop-down list contains BI Ask results, which are
displayed in the Visualize data using section of the drop-down list. Your initial
search criteria also builds a search string to find projects and visualizations.
That search string is displayed in the Search results containing section of
the drop-down list and is flagged with the magnifying glass icon. See Search
Tips.
4-9
Chapter 4
Search Data, Projects, and Visualizations
• Excel, CSV, and TXT data set columns with 1,000 or less distinct rows are
indexed and available as search results. No database data set data values are
indexed and available as search results.
3. Enter additional criteria in the search field, select the item that you want to include,
and the application builds your visualization. You can also optionally perform the
following steps:
• Enter the name of the visualization that you want your results to be displayed
in. For example, enter scatter to show your data in a scatter plot chart, or enter
pie to show your data in a pie chart.
• Click Change Visualization Type to apply a different visualization to your
data.
• Click Open in Data Visualization to further modify and save the visualization.
4. To clear the search criteria, click the X icon next to your search tags.
3. In the Search results containing section of the drop-down list, click the search
term that you want to use.
The objects that match your search are displayed on the Home page.
4. To clear the search criteria, click the X icon next to your search tags.
4-10
Chapter 4
Search Data, Projects, and Visualizations
Search Tips
You must understand how the search functionality works and how to enter valid search
criteria.
Wildcard Searches
You can use the asterisk (*) as a wildcard when searching. For example, you can
specify *forecast to find all items that contain the word “forecast”. However, using two
wildcards to further limit a search returns no results (for example, *forecast*).
Meaningful Keywords
When you search, use meaningful keywords. If you search with keywords such as by,
the, and in it returns no results. For example, if you want to enter by in the search field
to locate two projects called “Forecasted Monthly Sales by Product Category” and
“Forecasted Monthly Sales by Product Name,” then it returns no results.
Date Search
If you want to search for a date attribute, you search using the year-month-date
format. Searching with the month/date/year format (for example, 8/6/2016) doesn’t
produce any direct matches. Instead, your search results contain entries containing 8
and entries containing 2016.
Frequency of Indexing
If you create or save a project or create a data set and then immediately try to search
for the saved project, project content, or column information, then it’s likely that your
search results won’t contain matches for these items. If this happens, then wait a few
minutes for the indexing process to run, and retry your search. The system
automatically runs the indexing process every two minutes.
4-11
Chapter 4
Save Your Changes Automatically
1. Create or open a project. Confirm that you’re working in the Visualize canvas.
2. From the Save menu, select Auto Save.
3. In the Save Project dialog, enter the Name and Description to identify your
project.
4. Select the folder where you want to save your project.
5. Click Save.
If no error occurs, a success message is displayed that states that your project is
saved and that the Save option is disabled. Any project updates are saved in real-
time.
Note:
4-12
5
Add Data Sources to Analyze and Explore
Data
You can add your own data to visualizations for analysis and exploration.
Topics:
• Typical Workflow to Add Data Sources
• About Data Sources
• Connect to Database Data Sources
• Connect to Oracle Applications Data Sources
• Create Connections to Dropbox
• Create Connections to Google Drive or Google Analytics
• Create Generic JDBC Connections
• Create Generic ODBC Connections
• Create Connections to Oracle Autonomous Data Warehouse Cloud
• Create Connections to Oracle Big Data Cloud
• Create Connections to Oracle Essbase
• Create Connections to Oracle Talent Acquisition Cloud
• Add a Spreadsheet as a Data Source
5-1
Chapter 5
About Data Sources
Topics:
• Create Database Connections
• Create Data Sets from Databases
• Edit Database Connections
• Delete Database Connections
5-2
Chapter 5
Connect to Database Data Sources
2. In the Create Connection dialog, click the icon for the connection type that you
want to create a connection for (for example Oracle Database).
3. Enter a name for the connection, and then enter the required connection
information, such as host, port, username, password, and service name.
Note:
4. (Optional) When you connect to some database types (for example, Oracle Talent
Management Cloud), you might have to specify the following authentication
options on the Create Connection and Inspect dialogs:
• Authentication
– Select Always use these credentials, so that the login name and
password you provide for the connection are always used and users aren’t
prompted to log in.
– Select Require users to enter their own credentials when you want to
prompt users to enter their own user name and password for the data
source. Users required to log in see only the data that they have the
permissions, privileges, and role assignments to see.
5. Click Save.
You can now begin creating data sets from the connection.
5-3
Chapter 5
Connect to Database Data Sources
You must provide a unique Connection Name. If a connection with the same name
already exists in your system, an error message is displayed. You can’t see or edit the
current password for your connection. If you need to change it, you must create a
connection that uses the same password.
5-4
Chapter 5
Connect to Oracle Applications Data Sources
Note:
If the connection contains any data sets, then you must delete the data sets
before you can delete the connection.
Topics:
• Create Oracle Applications Connections
• Compose Data Sets from Subject Areas
• Compose Data Sets from Analyses
• Edit Oracle Applications Connections
• Delete Oracle Applications Connections
5-5
Chapter 5
Connect to Oracle Applications Data Sources
• If you select Always use these credentials, then the login name and
password you provide for the connection is always used and users aren’t
prompted to log in.
• If you select Require users to enter their own credentials, then users are
prompted to enter their user names and passwords to use the data from the
Oracle Applications data source. Users required to log in see only the data
that they have the permissions, privileges, and role assignments to see.
5. Click Save.
You can now create data sets from the connection.
1. On the Home, Data, or Projects page, click Create and click Data Set. Click
Connection and use the Create Connection dialog to specify the details for your
data set.
2. In the Data Set editor, choose Select Columns to view, browse, and search the
available subject areas and their columns that you include in your data set. You
can use breadcrumbs to quickly move back through the directories.
3. You can also optionally perform the following steps:
• In the breadcrumbs click the Add/Remove Related Subject Areas option to
include or exclude related subject areas. Subject areas are related when they
use the same underlying business or logical model.
• After you’ve selected columns, go to the Step editor at the top of the Data Set
editor and click the Filter step to add filters to limit the data in the data set.
After you’ve added filters, click Get Preview Data to see how the filters limit
the data.
• Click Enter SQL to display the logical SQL statement of the data source. View
or modify the SQL statement in this field.
Note:
If you edit the data source’s logical SQL statement, then the SQL
statement determines the data set and any of the column-based
selection or specifications are disregarded.
• Go to the Step editor at the top of the Data Set editor and click the last step in
the Step editor to specify a description for the data set.
4. Before saving the data set, go to the Name field and confirm its name. Click Add.
The Data Set page is displayed.
5. In the Data Set page you can optionally view the column properties and specify
their formatting. The column type determines the available formatting options.
5-6
Chapter 5
Connect to Oracle Applications Data Sources
1. On the Home page click Create and click Data Set to open the Create Data Set
dialog. In the Create Data Set dialog, select Create Connection and use the
Create Connection dialog to create the connection for your data set.
2. In the Data Set editor, select the Select an Analysis option to view, browse, and
search the available analyses to use in your data set.
You can use breadcrumbs to quickly move back through the directories.
3. Double-click an analysis to use it for your data set. The analysis’ columns are
displayed in the Data Set editor.
4. You can also optionally perform the following steps:
• Click Enter SQL to display the SQL Statement of the data set. View or modify
the SQL statement in this field.
• Click a column’s gear icon to modify its attributes, like data type and whether
to treat the data as a measure or attribute.
• Go to the Step editor at the top of the Data Set editor and click the last step in
the Step editor to specify a description for the data set.
5. Before saving the data set, go to the Name field and confirm its name. Click Add.
The Data Set page is displayed.
6. In the Data Set page you can optionally view the column properties and specify
their formatting. The column type determines the available formatting options.
5-7
Chapter 5
Create Connections to Dropbox
Note:
If any data sets use the connection, then you must delete the data sets
before you can delete the connection.
Field Description
Redirect Confirm that the Dropbox application is open and its Settings area is
URL displaying. Copy the URL in the Redirect URL field and paste it into the
Dropbox application’s OAuth 2 Redirect URIs field and then click Add.
Client ID Go to the Dropbox application, locate the App key field, and copy the key
value. Go to Data Visualization and paste this value into the Client ID field.
Client Go to the Dropbox application, locate the App secret field, click Show to
Secret reveal the secret, and copy the secret value. Go to Data Visualization and
paste this value into the Client Secret field.
5-8
Chapter 5
Create Connections to Google Drive or Google Analytics
Field Description
Redirect Confirm that the Google application is open and its Credentials area is
URL displaying. Copy the URL in the Redirect URL field and paste it into the
Google application’s Authorized redirect URIs field.
Client ID Go to the Google application’s Credentials area, locate the Client ID field, and
copy the key value. Go to Data Visualization and paste this value into the
Client ID field.
Client Go to the Google application’s credential information, locate the Client secret
Secret field and copy the secret value. Go to Data Visualization and paste this value
into the Client Secret field.
5. Click Authorize.
6. When prompted by Google to authorize the connection, click Allow.
The Create Connection dialog refreshes and displays the name of the Google
account, and its associated email account.
7. Click Save.
You can now create data sets from the Google Drive or Google Analytics
connection. See Add a Spreadsheet from Dropbox or Google Drive.
5-9
Chapter 5
Create Generic JDBC Connections
Field Description
New Any name that uniquely identifies the connection. Avoid using instance-
Connection specific names such as host names, because the same connection can be
Name configured against different databases in different environments (for
example, development and production).
URL The URL for your JDBC data source.
See the documentation for the driver, and the JAR file for details on
specifying the URL.
Driver Class The name of the Driver Class.
Name You can find the name in the JAR file, or from wherever you downloaded the
JAR file.
Username The database username.
Password The database user password.
5. Click Save.
You can now create data sets from the connection. See Create Data Sets from
Databases.
Note:
If you import a project containing a JDBC connection into a Data
Visualization installation where the JDBC driver isn’t installed, the import still
works. However, the connection doesn’t work when you try to run the project
or Data Flow. You must recreate the JDBC connection, and JDBC driver to a
suitable data source.
5-10
Chapter 5
Create Generic ODBC Connections
a. In Windows, locate and open the ODBC Data Source Administrator dialog.
b. Click the System DSN tab, and then click Add to display the Create New Data
Source dialog.
Windows uses ODBC DSNs to access the data source and for query
execution.
c. Select the driver appropriate for your data source, and then click Finish.
d. The remaining configuration steps are specific to the data source you want to
configure.
Refer to the documentation for your data source.
3. Create the generic ODBC data source in Data Visualization.
a. On the Data or Home page, click Create, then click Connection to display the
Create Connection dialog.
b. In the Create Connection dialog, locate and click the ODBC icon.
c. In the Create Connection dialog, enter the connection criteria:
Field Description
Name Any name that uniquely identifies the connection.
DSN The name of the system DSN that you set up on your computer.
Username The database username.
Password The password for the database user.
d. Click Save.
You can now create data sets from the connection. See Create Data Sets from
Databases.
5-11
Chapter 5
Create Connections to Oracle Autonomous Data Warehouse Cloud
Note:
If you import a project containing an ODBC connection into a Data
Visualization installation where the ODBC DSN doesn’t exist, and the ODBC
driver isn’t installed, the import still works. However, the connection doesn’t
work when you try to run the project or Data Flow. You must recreate the
ODBC connection, and recreate the ODBC DSN, and ODBC driver to a
suitable data source.
Tutorial
1. Before you create connections to Oracle Autonomous Data Warehouse Cloud, you
must have the client credentials zip file containing the trusted certificates that
enable Data Visualization to connect to Oracle Autonomous Data Warehouse
Cloud.
a. Obtain the Client Credentials file from Oracle Autonomous Data Warehouse
Cloud Console.
See Download Client Credentials (Wallets) in Using Oracle Autonomous Data
Warehouse Cloud.
The credentials wallet file secures communication between Oracle Analytics
Cloud and Oracle Autonomous Data Warehouse Cloud. The wallet file that
you upload must contain SSL certificates, to enable SSL on your Oracle
Database Cloud connections.
b. Unzip the Client Credentials wallet file (for example, wallet_ADWC1.zip) to
get the cwallet.sso file.
2. To create a connection to Oracle Autonomous Data Warehouse Cloud:
a. On the Home page, click Create then click Connection to display the Create
Connection dialog.
b. Click Oracle Autonomous Data Warehouse to display the fields for the
connection.
c. Enter the Connection Name, Description, Host, and Port.
d. In the Client Credentials field, click Select to browse for the cwallet.sso
file.
e. Enter the Username, Password, and Service Name.
f. Click Save to create the connection.
You can now create data sets from the connection.
5-12
Chapter 5
Create Connections to Oracle Big Data Cloud
Note:
With this URL, you can connect without having to open any ports or
performing additional configuration. Oracle Analytics Cloud – Essbase
must have a public IP address and use the default port.
5-13
Chapter 5
Create Connections to Oracle Talent Acquisition Cloud
If you want to connect to an Oracle Essbase 11g database, enter the hostname
and agent port number on which Oracle Essbase is running. Use the format:
hostname:port
Note:
Your Essbase administrator must open ports in the range 32000-34000
to allow the connection.
5. For Username and Password, enter user credentials with access to the Oracle
Essbase data source.
6. Select the Authentication requirements on this connection.
• Always use these credentials: The username and password you provide for
the connection are always used. Users aren’t prompted to sign in to access
the data available through this connection.
• Require users to enter their own credentials: Users are prompted to enter
their own username and password if they want access to this data source.
Users see only the data that they have the permissions, privileges, and role
assignments to see.
• Use the active user’s credentials: Users aren’t prompted to sign in to access
the data. The same credentials they used to sign in to Oracle Analytics Cloud
are also used to access this data source.
7. Click Save to create the connection.
Now you can create data sets from the data accessible through this connection.
5-14
Chapter 5
Add a Spreadsheet as a Data Source
• If you select Require users to enter their own credentials, then users are
prompted to enter their user names and passwords to use the data from the
Oracle Applications data source. Users who are required to log in see only the
data that they have the permissions, privileges, and role assignments to see.
7. Click Save to create the connection.
You can now create data sets from the connection.
Topics:
• About Adding a Spreadsheet as a Data Set
• Add a Spreadsheet from Your Computer
• Add a Spreadsheet from Excel with the Smart View Plug-In
• Add a Spreadsheet from Windows Explorer
• Add a Spreadsheet from Dropbox or Google Drive
5-15
Chapter 5
Add a Spreadsheet as a Data Source
• Rows 2 onward are the data for the table, and they can’t contain column names.
• Data in a column must be of the same kind because it’s often processed together.
For example, Amount Purchased must have only numbers (and possibly nulls),
enabling it to be summed or averaged. Given Name and Surname must be text as
they might be concatenated, and you may need to split dates into their months,
quarters, or years.
• Data must be at the same granularity. A table can’t contain both aggregations and
details for those aggregations. For example, if you’ve a sales table at the
granularity of Customer, Product, and Year, and contains the sum of Amount
Purchased for each Product by each Customer by Year. In this case, you wouldn’t
include Invoice level details or a Daily Summary in the same table, as the sum of
Amount Purchased wouldn’t be calculated correctly. If you’ve to analyze at invoice
level, day level, and month level, then you can do either of the following:
– Have a table of invoice details: Invoice Number, Invoice Date, Customer,
Product, and Amount Purchased. You can roll these up to day or month or
quarter.
– Have multiple tables, one at each granular level (invoice, day, month, quarter,
and year).
5-16
Chapter 5
Add a Spreadsheet as a Data Source
a. Select the upper-left numeric data cell, or select an area of data cells that you
want to publish.
Don't include grand totals when you select an area of data cells to publish.
b. Click Unpivot.
c. Click OK.
4. If required, format the new sheet content in Excel (for example, edit column
heading names).
5. In the DV Desktop tab, click Publish to publish the new sheet.
If Data Visualization isn't running, it starts automatically. The spreadsheet data is
displayed in the Data Set editor.
6. In the Data Set editor, make any required changes to Name, Description, or to
column attributes.
If you’re uploading a CSV or TXT file, then in the Separated By field, confirm or
change the delimiter. If needed, select Custom and enter the character you want
to use as the delimiter. In the CSV or TXT file, a custom delimiter must be one
character. The following example uses a pipe (|) as a delimiter: Year|Product|
Revenue|Quantity|Target Revenue| Target Quantity.
7. Click Add. If a data set exists with the same name, you're prompted to confirm that
you want to overwrite it.
5-17
Chapter 5
Add a Spreadsheet as a Data Source
Data Visualization creates and displays a new data set that you can update, re-
pivot, or apply changes to as needed.
Note:
If you later delete the Excel file created when un-pivoting, the data set
created inData Visualization is no longer linked to the Excel file.
5-18
Chapter 5
Add a Spreadsheet as a Data Source
5-19
6
Manage Data that You Added
This topic describes the functions available to manage the data that you added from
data sources.
Topics:
• Typical Workflow to Manage Added Data
• Manage Data Sets
• Refresh Data that You Added
• Update Details of Data that You Added
• Delete Data Sets from Data Visualization
• Rename a Data Set
• Duplicate Data Sets
• Blend Data that You Added
• About Changing Data Blending
• View and Edit Object Properties
6-1
Chapter 6
Manage Data Sets
Note:
Rather than refreshing a data set, you can replace it by loading a new data
set with the same name as the existing one. However, replacing a data set
can be destructive and is discouraged. Don’t replace a data set unless you
understand the consequences:
• Replacing a data set breaks projects that use the existing data set if the
old column names and data types aren’t all present in the new data set.
• Any data wrangling (modified and new columns added in the data stage)
is lost and projects using the data set are likely to break.
You can refresh data from all source types: databases, files, and Oracle Applications.
Databases
For databases, the SQL statement is rerun and the data is refreshed.
CSV or TXT
To refresh a CSV or TXT file, you must ensure that it contains the same columns that
are already matched with the date source. If the file that you reload is missing some
columns, then you’ll see an error message that your data reload has failed due to one
or more missing columns.
You can refresh a CSV or TXT file that contains new columns, but after refreshing, the
new columns are marked as hidden and don’t display in the Data Elements pane for
existing projects using the data set.
Excel
To refresh a Microsoft Excel file, you must ensure that the newer spreadsheet file
contains a sheet with the same name as the original one. In addition, the sheet must
contain the same columns that are already matched with the data source. If the Excel
file that you reload is missing some columns, then you'll see an error message that
your data reload has failed due to one or more missing columns.
6-2
Chapter 6
Update Details of Data that You Added
You can refresh an Excel file that contains new columns, but after refreshing, the new
columns are marked as hidden and don’t display in the Data Elements pane for
existing projects using the data set. To resolve this issue, use the Inspect option of
the data set to show the new columns and make them available to existing projects.
Oracle Applications
You can reload data and metadata for Oracle Applications data sources, but if the
Oracle Applications data source uses logical SQL, reloading data only reruns the
statement, and any new columns or refreshed data won’t be pulled into the project.
Any new columns come into projects as hidden so that existing projects that use the
data set aren’t affected. To be able to use the new columns in projects, you must
unhide them in data sets after you refresh. This behavior is the same for file-based
data sources.
To refresh data in a data set:
1. Go to the Data page and select Data Sets.
2. Select the data set you want to refresh and click Actions menu or right-click, then
select Reload Data. To refresh data sets in a project:
• Data Elements panel - Select a data set and right-click, then select Reload
Data.
• Visualize and Prepare canvas - Click Menu and select Refresh Data Sets.
You can also right-click a data set in the data sets tabs bar of the Prepare
canvas and select Reload Data.
3. If you’re reloading a spreadsheet and the file is no longer in the same location or
has been deleted, then the Reload Data dialog prompts you to locate and select a
new file to reload into the data source.
4. Click Select File or drag a file to the Reload Data dialog.
5. A success message is displayed after your data is reloaded successfully.
6. Click OK.
The original data is overwritten with new data, which is displayed in visualizations after
they are refreshed.
6-3
Chapter 6
Delete Data Sets from Data Visualization
copied into the cache if possible. If you select Automatic Caching, then you’ll
have to refresh the data when it’s stale.
5. Click Save.
6-4
Chapter 6
Blend Data that You Added
Note:
Video
For example, Data Set A might contain new dimensions that extend the attributes of
Data Set B. Or Data Set B might contain new facts that you can use alongside the
measures that already exist in Data Set A.
When you add more than one data set to a project, the system tries to find matches for
the data that’s added. It automatically matches external dimensions where they share
a common name and have a compatible data type with attributes in the existing data
set.
Data sets that aren't joined are divided by a line in the Data Elements pane of the
project. If the project includes multiple data sets and if any aren't joined, then you'll see
restrictions between data elements and visualizations. For example, you can't use the
data elements of a data set in the filters, visualizations, or calculations of another data
set if they're not joined. If you try to do so, you see an error message. You can match
data elements of data sets that aren't joined in the Data Diagram of a project, or you
can create individual filters, visualizations, or calculations for each data set.
You can specify how you want the system to blend your data.
1. Add one or multiple data sets to your project. Confirm that you're working in the
Prepare canvas.
2. Go to the tabs at the bottom of the Prepare canvas and click Data Diagram.
Alternatively, in the Data Elements pane, right-click and select Data Diagram.
6-5
Chapter 6
Blend Data that You Added
3. Click the number along the line that connects the external source to the newly
loaded source to display the Connect Sources dialog.
Note:
Items that were never explicitly matched together may be matched by
the system. For example, Customer.Person_Name is matched to
Employee.Name, and Employee.Name is matched to
Spouse.Given_Name.
Note:
If columns have the same name and same data type, then they’re
recognized as a possible match. You can customize this and specify
that one column matches another by explicitly selecting it even if its
name isn’t the same. You can select only those columns with a
matching data type.
b. Click Add Another Match, and then select a column from the data sets to
match.
c. For a measure that you’re uploading for the first time, specify the aggregation
type such as Sum or Average.
d. Click the X to delete a match.
6-6
Chapter 6
About Changing Data Blending
The following results are displayed if you select the All Rows data blending option for
Source A and select the Matching Rows data blending option for Source B. Because
IN-7 doesn’t exist in Source B, the results contain null Rep and null Bonus.
The following results are displayed if you select the Matching Rows data blending
option for Source A and select the All Rows data blending option for Source B.
Because IN-8 doesn’t exist in Source A, the results contain null Date and null
Revenue.
The visualization for Source A includes Date as an attribute, and Source B includes
Rep as an attribute, and the match column is Inv#. Under dimensional rules, you can’t
6-7
Chapter 6
View and Edit Object Properties
use these attributes with a measure from the opposite table unless you also use the
match column.
There are two settings for blending tables that contain both attributes and measures.
These are set independently in each visualization based on what columns are used in
the visualization. The settings are All Rows and Matching Rows and they describe
which source rows the system uses when returning data to be visualized.
The system automatically assigns data blending according to the following rules:
• If the visualization contains a match column, then the system sets sources with the
match column to All Rows.
• If the visualization contains an attribute, then the system sets its source to All
Rows and sets the other sources to Matching Rows.
• If attributes in the visualization come from the same source, then the system sets
the source to All Rows, and sets the other sources to Matching Rows.
• If attributes come from multiple sources, then the system sets the source listed
first in the project's elements panel to All Rows and sets the other sources to
Matching Rows.
6-8
Chapter 6
View and Edit Object Properties
• Data Sets
• Connections
• Data Flows
• Sequences
• Schedules
• Folders
1. In the Data page and select Data Flows, then locate the data flow whose
properties you want to view or edit.
2. Click the data flow’s Actions menu and select Inspect.
3. In the Inspector dialog, modify the object properties (such as Name and
Description).
Common and type-specific properties are organized in tabs in the Inspector dialog,
and the following tabs are displayed:
• General - Lists standard life-cycle properties (such as Name, Description,
Created By, and Modified By) that are common to all types of object.
This tab also lists high-level properties (such as Type, File Name, File Size,
and Location), depending on the type of object that you’re inspecting.
• Permissions - Lists each user’s levels and level of permission.
• Schedules - Lists schedules for the object (such as Name, Frequency, and
Next Start Time of the schedule).
• Related - Lists objects that are related, referenced, or used by the object that
you’re inspecting. The objects listed depend on the type of object that you’re
inspecting.
• History - Lists the recent activity for the object.
Note:
The Inspector dialog also displays other specific tabs (such as Data
Elements, Parameters, and Data Flows), depending on the type of object
that you’re inspecting.
4. Click Save.
6-9
7
Prepare Your Data Set for Analysis
Data preparation involves cleansing, standardizing, and enriching your data set before
you analyze the data in a visualization canvas.
Topics
• Typical Workflow to Prepare Your Data Set for Analysis
• About Data Preparation
• Data Profiles and Semantic Recommendations
• Accept Enrichment Recommendations
• Transform Data Using Column Menu Options
• Adjust the Column Properties
• Edit the Data Preparation Script
7-1
Chapter 7
Data Profiles and Semantic Recommendations
Topics
• Semantic Type Categories
• Semantic Type Recommendations
• Recognized Pattern-Based Semantic Types
• Based Semantic Types
• Recommended Enrichments
7-2
Chapter 7
Data Profiles and Semantic Recommendations
• Required Thresholds
7-3
Chapter 7
Data Profiles and Semantic Recommendations
• Email Addresses
• North American Plan Phone Numbers
• First Names (typical first names in the United States)
• Last Names (typical surnames in the United States)
• US Addresses
Recommended Enrichments
The list shows the recommended enrichments based on the semantic
types. Enrichments are determine based on the geographic location hierarchy.
• Country
• Province (State)
• Jurisdiction (County)
• Longitude
• Latitude
• Population
• Elevation (in Meters)
• Time zone
• ISO country codes
• Federal Information Processing Series (FIPS)
• Country name
• Capital
• Continent
• GeoNames ID
• Languages spoken
• Phone country code
• Postal code format
• Postal code pattern
7-4
Chapter 7
Accept Enrichment Recommendations
Required Thresholds
There are specific thresholds required for the profiling process to make a decision
about a specific semantic type. As a general rule, 85% of the data values in the
column must meet the criteria for a single semantic type in order for the system to
make the classification determination. As a result, a column that might contain 70%
first names and 30% “other”, doesn't meet the threshold requirements and therefore no
recommendations are made.
7-5
Chapter 7
Transform Data Using Column Menu Options
The data transform changes update the column data using the selected option or add
a new column to the data set.
The list of available menu options for a column depends on the type of data in that
column.
Note:
If you don’t apply the transformation script and close the project or the data
set, you lose all the data transform changes you’ve performed.
1. Open a project, and click Prepare. In the Results pane, select a column to
transform.
2. Click Options, and select a transformation option.
3. In the step editor, update the fields to configure the changes. You can review the
changes in the data preview table.
4. Click Add Step to apply the data changes, close the step editor, and add a step to
the Preparation Script pane.
5. Continue implementing data transform changes in the data set.
6. Click Apply Script in the Preparation Script pane to apply the data transform
changes to the entire data set.
7. (Optional) Click Save, and then click Visualize to see the transformed columns.
This example shows a Gender column with the data values F, f, M and m. To change
the gender column data to use Female and Male, you select the column, select
Options, and then select Group.
In the Group editor, you create a new column, using the name Gender_Fix. Create two
groups, one for the values that represent women, F, and f, and one group for the
values that represent men, M, and m. In the first group, enter Female as the group
name, then select all of the data values that represent females (f, F). Click the Add
icon next to Group in the editor to add a new group for men. Enter Men as the group
name. The remaining values in the gender column should represent men, so click Add
All. To complete the transformation step change, you must click Add Step to include
the new column and standardized gender groups in the data set.
The Preparation script is updated with the step to add the new column, Gender_Fix
that uses Female and Male as its values.
7-6
Chapter 7
Transform Data Using Column Menu Options
You can also do this from the Data Sets page when you’re editing a data set.
If you’ve selected Convert to Date, then the Convert to Date/Time dialog is
displayed.
4. To further refine the format, select the column, and use the options on the
properties pane.
5. If you want to change the Source Format's default value then click Source Format
and select a format. For example, 2017.01.23, 01/23/2017, Mon, Jan 23, 2017, or
Mon, Jan 23, 2017 20:00:00.
The Source Format field automatically displays a suggested format based on the
input column text. However, if the Source Format field doesn’t display a
suggested format (for example, for Sat 03/28 2017 20:10:30:222), then you can
enter a custom format.
6. Click Custom if you need to enter your own format into the field at the bottom of
the Convert to Date/Time dialog.
The custom format you enter must be in a format recognized by Oracle Business
Intelligence before conversion. If you enter a custom format that isn’t recognized,
an error message is displayed.
7. The Hide Source Element is selected by default and hides the original source
column after conversion. If you deselect this option, the original column is
displayed next to the converted column after conversion.
8. Click Convert to convert the text column into a date or time column.
The changes you make apply to all projects using the data source with a modified
date or time column.
7-7
Chapter 7
Transform Data Using Column Menu Options
• In the properties pane, click the Date/Time Format tab, and use the options to
adjust your dates or times (for example, click Format) to select from short,
medium, or long date formats, or specify your own format by selecting
Custom and editing the calendar string displayed.
4. If you’re working in the data elements area of the Data Panel, adjust the format by
doing one of the following:
• If you want to display just a portion of a calendar column (for example, the
year or quarter only), then select and expand a calendar column and select
the part of the date that you want to display in your visualization. For example,
to only visualize the year in which orders were taken, you might click Order
Date and select Year.
• In the properties pane, click the Date/Time Format tab, and use the options to
adjust your dates or times.
5. If you’re working in table view, select the column header and click Options, then in
the properties pane click Date/Time Format to display or update the format for that
column.
7-8
Chapter 7
Transform Data Using Column Menu Options
7-9
Chapter 7
Transform Data Using Column Menu Options
Field Description
New Change the name of the bin column.
element
name
Number of Click to select a different number from the list.
bins
Method Based on your selection in the Method field, the range and count of the bins
are updated.
• In the Manual method, you can select the boundary (that is, range and
count) of each bin. You can also change the default name of each bin.
• In the Equal Width method, the boundary of each bin is the same, but
the count differs. Based on your selection in the Bin Labels field, the
bin column labels are updated.
• In the Equal Height method, the height of each bin is the same or very
slightly different but the range is equal.
Bin By If you select the Equal Width method, click to select a dimension (that is, a
data element) on which to apply the bin.
4. Click Add Step to apply the data changes, close the step editor, and add a step to
the Preparation Script pane.
7-10
Chapter 7
Adjust the Column Properties
7-11
8
Use Machine Learning to Analyze Data
You can use machine learning to make predictions using your existing data.
Before you start, install the machine learning Framework on the Windows or Mac
machine on which you’ve installed Data Visualization Desktop. See How Do I Install
DVML for Data Visualization Desktop?
Topics:
• Typical Workflow to Analyze Data with Machine Learning
• Create a Train Model for a Data Flow
• Interpret the Effectiveness of the Model
• Score a Model
• Add Scenarios to a Project
8-1
Chapter 8
Interpret the Effectiveness of the Model
1. In the Data tab, select a data set that you want to use in the data flow.
This can be any data set containing data that you want to train model.
2. In the Data Flows tab, click Create and select Data Flow to display the Add Data
Set pane.
3. Select the data set that you want to use to create your train model, and click Add.
This can be any data set.
4. In the data flow, click the Plus (+) symbol.
This displays all available data flow step options, including train model types
shown as icons across the bottom (for example, Train Numeric Predictions, Train
Multi-Classifier).
5. Click the train model type that you want to apply to the data set.
For example, Train Binary Classifier is a binary train model (a statistical
calculation) that helps predict a binary choice.
6. Select a suitable script from the available scripts for the selected model type (for
example, Binary Classification) and click OK to confirm.
For example, select CART for model to build a binary classification train model.
The parameters displayed are specific to the script that you select.
7. Refine the field details for the model as required:
a. If you want to change the script, then click Model Training Script.
b. Click Target to select a Data Set column that you want to apply the train
model to.
For example, you might want to model the Income Level column to predict a
person's income. Consider a loan agent who is interested to offer loans only to
those who make more than $50000.
c. Update the remaining fields with values that are appropriate for the script you
selected.
8. Click Save, enter a name and description and click OK to save the data flow with
your choice of parameter values for the current train model script.
9. Click Save Model, enter a name and description, and click Save to save the
model.
You can now run the model script like any other data flow.
8-2
Chapter 8
Score a Model
3. Click the menu icon for a model and select the Inspect option.
This displays three tabs: General, Quality, and Related.
4. (Optional) Click General.
This page shows information about the model including:
• Predicts - The name of whatever the model is trying to predict (for example,
something about IncomeLevel).
• Trained On - The name of the data set that you're using to train the model.
• Script - The name of the script used in the model.
• Class - The class of script (for example, Binary Classification).
5. (Optional) Click Quality.
A portion (configurable) of the training data set is kept aside for validation
purposes. When the model is built, it’s applied to the validation data set with
known labels. A different set of metrics such as Accuracy, Precision, and Recall
are calculated based on Actual (Label) and Predicted Values. Information is also
shown as a matrix, that you can use to provide quick simple summaries of what is
found during validation. For example, a certain percentage (X) of people in the
validation data set makes more than $50000, whereas the model predicted Y% of
the people making the same.
The Quality page displays:
• A list of standard metrics, where the metrics displayed are related to the model
selected. Each metric helps you determine how good the model is in terms of
its prediction accuracy for the selected Data Set column to which you apply
the train model.
For example, you might model the Income Level column to predict (based on a
range of other values for each person), when someone’s income level is likely
to be greater than $50000.
• The matrix shows the state of the data used to make the predictions.
The matrix indicates actual values against predicted values to help you
understand if the predicted values are close to the actual values.
You can use this information to return to the model and make changes if
necessary.
6. (Optional) Click Related.
Related tab captures data sets emitted by the machine learning scripts when run
to build models. The data sets capture specific information related to the script
logic, so that advanced users (data scientists) can get more insights into the model
built.
This page shows the training data including:
• Training Data - The data set being used to train the model.
• Generated Data - The data sets created by the script that you use for the
training model (for example, obiee.CART.train). You may see different data
sets if you select another script to train a model.
Score a Model
You can apply a model within a data flow to generate a data set.
8-3
Chapter 8
Add Scenarios to a Project
1. In the Data tab, select a data set that you want to use in the data flow.
This can be any data set containing data that you want to apply your model to.
2. In the Data Flows tab, click Create and select Data Flow to display the Add Data
Set pane.
3. Select the data set to which you want to apply the model, and click Add.
Select a data set like the one used to create the model.
4. In the data flow, click the Plus (+) symbol.
5. Click Apply Model from the available options.
6. Select a model from the list of available models and click OK to confirm.
7. Select the Output columns that you want generated by this data flow, and update
Column Name fields if required.
The output columns displayed in the Apply Model pane are created as a data set
when the data flow runs. The output columns are relevant to the model.
8. In the data flow, click the Plus (+) symbol and select Save Data to add a Save
Data step.
9. Click Save, enter a name and description and click OK to save the data flow with
the selected model and output.
You can now run the data flow to create the appropriate output data set columns
using the selected model.
Note:
Any data set created by scoring data flow can be used within a Data
Visualization (project visualization) like any other data sets.
8-4
Chapter 8
Add Scenarios to a Project
3. In the Create Scenario - Select Model dialog, select the name of the model and
click OK.
4. In the Map Your Data to the Model dialog, specify various options:
• In a project with multiple data set, click Data Set to select a data set that you
want to map to the model.
• In the table, click Select Column to match a column to a model input.
Each model has inputs (that is, data elements) that must match corresponding
columns from the data set. If the data type (for example, column name) of a
model input matches a column, then the input and column are automatically
matched. If a model input has a data type that doesn't match any column, you
must manually specify the appropriate data element.
Click Show all inputs to display the model inputs and the data elements with
which they match. Alternatively, click Show unmatched inputs to display the
model inputs that aren’t matched with a column.
5. Click OK to add the resulting model columns to the Data Elements pane. You can
now use the model columns with the data set columns.
6. Drag and drop one or more data set and model columns from the Data Elements
pane to drop targets in the Visualize canvas. You can also double-click the
columns to add them to the canvas.
You can add one or more scenarios to the same or different data sets. In the Data
Elements pane right-click the model, and select one of the following options:
• Edit Scenario - Open the Map Your Data to the Model dialog to edit a scenario.
• Reload Data - Update the model columns after you edit the scenario.
• Remove from Project - Open the Remove Scenario dialog to remove a scenario.
8-5
9
Use Data Flows to Create Curated Data
Sets
You can use data flows to produce curated (combined, organized, and integrated) data
sets.
Video
Topics:
• Typical Workflow to Create Curated Data Sets with Data Flows
• About Data Flows
• About Editing a Data Flow
• Create a Data Flow
• Add Filters to a Data Flow
• Add Aggregates to a Data Flow
• Merge Columns in a Data Flow
• Merge Rows in a Data Flow
• Create a Bin Column in a Data Flow
• Create a Sequence of Data Flows
• Create a Group in a Data Flow
• Add Cumulative Values to a Data Flow
• Add a Time Series Forecast to a Data Flow
• Add a Sentiment Analysis to a Data Flow
• Branch Out a Data Flow into Multiple Connections
• Apply Incremental Processing to a Data Flow
• Customize the Names and Descriptions of Data Flow Steps
• Schedule a Data Flow
• Create an Essbase Cube in a Data Flow
• Execute a Data Flow
• Save Output Data from a Data Flow
• Run a Saved Data Flow
• Apply Parameters to a Data Flow
9-1
Chapter 9
Typical Workflow to Create Curated Data Sets with Data Flows
9-2
Chapter 9
About Editing a Data Flow
The data flow editor is a flexible tool, designed to help you create data flows. You can
also:
• Select, add, and rename columns
• Add or adjust aggregates
• Add filters
• Create a merge column
• Merge rows
• Create a binning column
• Add a sequence
• Create a group
• Add cumulative values
• Add a time series forecast
• Add a sentiment analysis
• Apply custom scripts
• Customize step names
• Schedule a data flow
• Create an Essbase cube
• Add another data set
You add steps in the workflow diagram pane and specify details for those steps in the
Step editor pane.
The following tips should help you to use the Step editor pane:
9-3
Chapter 9
Create a Data Flow
• You can hide or display the Step editor pane by clicking Step editor at the bottom
of the Data Flow editor.
You can hide or display the Preview data columns pane by clicking Preview data
at the bottom of the Data Flow editor.
• The Preview data columns pane updates automatically as you make changes to
the data flow.
For example, you could add a Select Columns step, remove some columns, and
then add an Aggregate step. While working on the Aggregate step, the Preview
data columns pane already shows the columns and data that you just specified in
the Select Columns step.
• You can specify whether or not to automatically refresh step changes in the
Preview data columns pane by clicking Auto apply .
• You can add another data set and join it to the existing data sets in your data flow
by selecting Add Data in the Data Flow Steps panel.
Joins are created automatically when you add a data set; however, you can edit
the join details in the Join dialog.
• Oracle Data Visualization validates data flow steps as you add them to or delete
them from the data flow.
• If you’re adding an expression (in an Add Column step or a Filter step), then you
must click Apply to finalize the step.
If you add a new step to the workflow diagram without clicking Apply, then your
expression won’t be applied, and the next step that you add won’t use the correct
data.
9-4
Chapter 9
Add Filters to a Data Flow
When you’ve finished adding steps to the data flow diagram, you can also execute
the data flow without saving it, or save the data flow as a database connection.
Field Description
Add Filter Select the data element you want to filter, in the Available Data dialog.
(+) Alternatively, click Data Elements in the Data Panel, and drag and drop a
data element to the Filter pane.
Filter fields Change the values, data or selection of the filter (for example, maximum and
minimum range). Based on the data element, specific filter fields are
displayed. You can apply multiple filters to a data element.
Filter menu Select a function to clear the filter selection and disable or delete a filter.
icon
Filter pane Select a function to clear all filter selections, remove all filters, and auto-
menu icon apply filters. You can select to add an expression filter.
Add Select to add an Expression Filter. Click f(x), select a function type, and then
Expression double-click to add a function in the Expression field.
Filter Click Apply.
Auto-Apply Select an auto-apply option for the filters, such as Default (On).
Filters
Note:
Based on the applied filter, the data preview (for example, the displayed
sales data in a column) is updated.
4. Click Save.
9-5
Chapter 9
Merge Columns in a Data Flow
Field Description
New column Change the name of the merge column.
name
Merge Select the first column you want to merge.
column
With Select the second column you want to merge.
(+) Add Select more columns you want to merge.
Column
Delimiter Select a delimiter to separate column names (for example, Space, Comma,
Dot, or Custom Delimiter).
4. Click Save.
9-6
Chapter 9
Create a Bin Column in a Data Flow
Option Description
All rows from Input 1 and All the rows of both the data sets are displayed.
Input 2 (Union All)
Unique rows from Input 1 The data of each unique rows are merged and displayed with
and Input 2 (Union) the other rows.
Rows common to Input 1 Only the common rows are displayed with the merged data.
and Input 2 (Intersect)
Rows unique to Input 1 Only the unique rows of data set 1 are displayed.
(Except)
Rows unique to Input 2 Only the unique rows of data set 2 are displayed.
(Except)
4. Click Save.
Field Description
Bin Select a different data element.
New Change the name of the bin column.
element
name
Number of Enter a number, or use the arrows to increment or decrement the number of
Bins bins.
Method Select one of the methods, Manual, Equal Width, or Equal Height.
9-7
Chapter 9
Create a Sequence of Data Flows
Field Description
Histogram Based on your selection in the Method field, the histogram range (width)
View and histogram count (height) of the bins are updated.
• In the Manual method, you can move the slider to select the boundary;
that is, the histogram range and count. The number of sliders changes
based on the histogram count. You can switch to the List view and enter
the range manually along with the bin names.
• In the Equal Width method, the histogram range is divided into intervals
of the same size. For equal width binning, the column values are
measured, and the range is divided into equal-sized intervals. The edge
bins can accommodate very low or very high values in the column.
• In the Equal Height method, the height of each bin is same or very
slightly different but the histogram range is equal. For equal height or
frequency binning, the intervals of each bin is based on each interval
containing approximately the equal number of elements (that is,
records). Equal Height method is preferred specifically for the skewed
data.
List View If you select the Manual method, you can change the name of the bins, and
you can define the range for each bin.
Note:
Based on your changes, the data preview (for example, the bin column
name) is updated.
6. Click Save.
9-8
Chapter 9
Add Cumulative Values to a Data Flow
3. Select the data element in the Available Columns dialog. You can’t select the
numbered type data element.
4. Specify the options for the new group column in the Group pane:
Field Description
Group Change the name of a group (for example, Group1).
Available Select the values you want to include in a group. The selected values are
values list displayed in the Selections list. Based on your selection, the histogram is
updated. The height of the horizontal bar is based on the count of a group in
the data set.
Name Change the name of the new group column.
Selections Contains all columns selected for this group.
(+) Group Add a new group. You can select a group, and click X to delete it.
Include Group values that haven't been added to any of the other groups.
Others
Add all Add all the values in the available list to a group.
Remove all Remove all the selected values from a group.
Note:
Based on your changes, the data preview (for example, the group
column name) is updated.
5. Click Save.
Field Description
Aggregate Select a data column.
Function Select a function. The available types of function are based on the data
column.
If the column data type is incompatible with the function, an error message is
displayed.
Rows Select the value. You can edit this field only for specific functions.
If the value isn't a positive integer, an error message is displayed.
9-9
Chapter 9
Add a Time Series Forecast to a Data Flow
Field Description
New column Change the aggregate column name.
name If two columns have the same name, an error message is displayed.
(+) Create a new aggregate column.
Aggregate Select a column. If no aggregate column is defined, an error message is
displayed.
(+) Sort Select a sort by column for the data column.
Column Click Options to move a sort column up or down in the list. Select a sort
order. If you add two sort orders to the same column, an error message is
displayed.
Sort order Select the sort order type.
list The available types of sort order are based on the selected data element.
(+) Restart Select a restart column for the data column.
Column Click Options to move a restart element up or down in the list. Select a
restart element. If you add a duplicate restart column, an error message is
displayed.
Note:
Based on your defined values, the data preview (for example, New
column name) is updated.
4. Click Save.
Field Description
Target Select a data column with historical values.
9-10
Chapter 9
Add a Sentiment Analysis to a Data Flow
Field Description
Time Select a column with date information. Forecasted values use a daily grain.
Periods Select the value that indicates how many periods (days) are forecasted per
group.
5. Click Save.
9-11
Chapter 9
Branch Out a Data Flow into Multiple Connections
sets based on the region of the sales transaction, such as west and east coast
regions.
You add a Branch step in the Step editor pane.
1. Create or open the data flow that you want to branch into multiple subsets.
Alternatively, create a data flow from a data set you want to branch into multiple
subsets.
2. In the Add step dialog, click Add a step (+) and select Branch.
A Branch step and two Save Data steps are added to the data flow.
3. In the Branch into field of the Branch pane, specify the number of connections or
outputs that you want to branch.
• The Save Data steps count is directly related to the number in the Branch
into field.
• In the Branch into field, the minimum number is two and the maximum is five.
You can increase the number of connections or outputs only in the Branch
into field.
• You can delete a connection or output. In the Add step dialog, click X or right-
click the Save Data step and select Delete.
• If you’ve only two Save Data steps and you delete one, you see a warning
message indicating that the Branch step will also be deleted. Click Yes to
delete the Branch step. Only one Save Data step is added in the data flow.
• You can’t add the following steps after a Branch step:
– Add Data
– Join
– Merge Rows
4. Click each Save Data step and in the Save Data Set pane, specify the properties
for saving the data set nodes:
Field Description
Name and Enter the data set name and description to identify your data set.
Description
Save data to Specify the location where you want to store the data set, such as Data
Set Storage or Database Connection.
If you select Database Connection, specify values for the Connection,
Table, and When Run options.
When Run Select the option and specify the following parameters: Name and
Prompt to Prompt.
specify Data Set
Columns Specify whether to change a column to a measure or attribute as
appropriate. For measures, specify the aggregation type (such as Sum,
Average, Minimum, Maximum, or Count).
5. Click Run Data Flow to run the data flow. If there’s no validation error, you see a
completion message. Go to the Data page and select Data Sets to see your
resulting data sets in the list.
9-12
Chapter 9
Apply Incremental Processing to a Data Flow
Alternatively, click Save or Save As. In the Save Data Flow As dialog, enter a
Name and Description to identify your data flow. On the Data page select Data
Flows to see your resulting data flow in the list.
9-13
Chapter 9
Create an Essbase Cube in a Data Flow
Field Description
List of Select the scheduled job from the table that you want to change the
scheduled properties for.
jobs
Repeat Select the scheduled job repeat type (such as monthly repeat).
End Select the end date of the scheduled job. If you selected Never in the
Repeat field, then this field doesn't display.
Frequency Select the frequency of the scheduled job. If you selected Custom in the
Repeat field, then this field is displayed. You can also select the day of the
week that you want to run the job.
(+) Add Job Create a new scheduled job.
Add Save the newly created scheduled job.
Update Save the updates to the scheduled job properties.
Revert Click to return to the previously saved properties when editing a scheduled
job.
Field Description
Essbase Click Select Essbase Connection to select a connection in the Save Data
Connection to Database Connection dialog.
Application Enter a name of the Essbase application.
Name
Cube Name Enter a name of the Essbase cube.
4. Click Save.
5. Click Execute Data Flow. After you run the data flow, check the resulting data set
in the Display pane.
6. Go to the Data page and select Data Flows to see your data flow in the list. See
About Using Tabular Data to Create Cubes in Using Oracle Analytics Cloud
Essbase.
9-14
Chapter 9
Execute a Data Flow
Note:
Don't change the Save data to field.
4. Click Run Data Flow to execute the data flow. If there is no validation error, a
completion message is displayed.
Note:
When you execute a data flow without saving it, the data flow isn’t saved
and isn't displayed in the Data Flows list. Therefore, the data flow isn’t
available for you to modify or run.
Go to the Data page and select Data Sets to see your resulting data set in the list.
5. Click Save or Save As. In the Save Data Flow As dialog enter a Name and
Description to identify your data flow.
Go to the Data page and select Data Flows to see your resulting data flow in the
list.
9-15
Chapter 9
Save Output Data from a Data Flow
• Data Set Storage: Specify whether you want to save the data set locally.
• Database Connection: Connect to a database and save the output data from
a data flow to a table in that database. The data flow is securely stored in the
database, and you can take advantage of its managed backup and recovery
facility. You can transform the data source by overwriting it with data from the
data flow. The data source and data flow tables must be in the same database
and have the same name. To successfully save a data flow to a database, it
must have no validation errors.
5. If you’ve selected Database Connection, specify the following options:
a. Click Select connection to display the Save Data to Database Connection
dialog.
b. Select a connection for saving the data flow.
You must create a database connection before you can select one. For
example, you can save to an Oracle database, Apache Hive database,
Hortonworks Hive database, or Map R Hive database. See Create Database
Connections.
c. Enter a name in the Table field. The table name must conform to the naming
conventions of the selected database. For example, the name of a table in an
Oracle database can’t begin with numeric characters.
d. Click the When run list and select to replace existing data or add new data to
existing data.
6. Select the When Run Prompt to specify Data Set option to apply parameters to
the data flow and specify its values.
7. In the Columns table, change or select the database name, the attribute or
measure, and the aggregation rules for each column in the output data set:
8. Click Save or Save As. In the Save Data Flow As dialog, enter
a Name and Description to identify the data flow.
• Go to the Data page and select Data Flows to see your resulting data flow in
the list.
• If you don’t save the data flow and try to navigate to another page, a Save
Changes dialog is displayed that prompts you to save the changes to the data
flow.
9. Click Run Data Flow to execute the data flow. If there’s no error, you see a
completion message and the output data is saved to the data set storage or to the
selected database using the table name that you specified.
• If you’ve selected data set storage, go to the Data page and select Data Sets
to see your output data set in the list.
9-16
Chapter 9
Run a Saved Data Flow
– Click Actions menu or right-click and select Inspect, to open the data set
dialog.
– In the data set dialog, click Data Elements and check the Treat As and
Aggregation rules that you’ve selected for each column in the Save
Data step.
• If you select a database to save the output data, go to the table in that
database and inspect the output data.
• If you select a table in the database with the same name, the data in the table
is overwritten when you save to the database.
9-17
Chapter 9
Apply Parameters to a Data Flow
alternative data set when running or scheduling the data flow. You can also apply
parameters to modify default values when creating an Essbase Cube.
For example, using a parameter you can:
• Process a new data set that has the same format as the default input data set.
• Process and store different aspects of a large data set based on date range,
individual departments, or regions into alternative target data sets.
You can apply parameters for the following steps:
• Add Data
• Save Data
• Create Essbase Cube
In the Step editor pane, specify the values for the parameters:
Save Data 1. Select the When Run Prompt to specify Data Set option.
2. Provide the Name and Prompt values for the parameter.
Create Essbase 1. Select the When Run Prompt to specify Data Set option.
Cube
2. Provide the Cube name, Application name, and Prompt value for the
parameter.
9-18
Chapter 9
Apply Parameters to a Data Flow
9-19
10
Import and Share
You can import and export projects to share them with other users. You can also share
a file of a visualization, canvas, or story that can be used by other users.
Topics:
• Typical Workflow to Import and Share Artifacts
• Import and Share Projects or Folders
• Share Visualizations, Canvases, or Stories
Email a folder, Export data visualization artifacts using Email Projects and Folders
project, visualization, email. Email a File of a Visualization, Canvas, or
canvas, or story Story
Share artifacts with Share data visualization artifacts with other Share a Project or Folder on Oracle
Oracle Analytics Oracle Analytics Cloud users. Analytics Cloud
Cloud Share a File of a Visualization, Canvas, or
Story, on OAC
Topics:
• Import an Application or Project
• Share a Project or Folder as an Application
• Email Projects and Folders
• Share a Project or Folder on Oracle Analytics Cloud
10-1
Chapter 10
Import and Share Projects or Folders
Note:
If you select an empty folder that doesn’t contain a project, you see a
notification.
3. Click File, then specify the options for sharing the project or folder:
• Specify the file name.
• Move the slider to enable the Include Data option to include the data when
sharing a project or folder.
• Move the slider to enable the Connection Credentials option, if you want to
include the user name and password of the data source connection with the
exported project.
10-2
Chapter 10
Import and Share Projects or Folders
Note:
4. If you selected the Include Data option or the Connection Credentials option,
then enter and confirm a password that the user must provide to import the project
or folder and decrypt its connection credentials and data.
5. Click Save.
Note:
If you select an empty folder that doesn’t contain a project, you see a
notification.
10-3
Chapter 10
Import and Share Projects or Folders
Note:
When you select the Email option, you don’t obtain a file that you can
save.
Note:
If you select an empty folder that doesn’t contain a project, you see a
notification.
3. Click Cloud, then specify and select the options for sharing the project or folder:
• Enter the file name and Oracle Analytics Cloud URL such as https://
cloud.oracle.com/.
10-4
Chapter 10
Share Visualizations, Canvases, or Stories
Topics:
• Share a File of a Visualization, Canvas, or Story
• Email a File of a Visualization, Canvas, or Story
• Print a Visualization, Canvas, or Story
• Write Visualization Data to a CSV or TXT File
• Share a File of a Visualization, Canvas, or Story on Oracle Analytics Cloud
Note:
You can only select Package (dva) as the file format for sharing a
project.
4. Click Save.
5. In Save As dialog, change the file name if you want, making sure to including the
file extension, and browse to the location where you want to save the file. Click
Save.
Stop Sharing Links
User ProfileShared Links
10-5
Chapter 10
Share Visualizations, Canvases, or Stories
Note:
You can only select Package (dva) as the file format for sharing a
project.
4. Click Email.
Your email client opens a new partially composed email with the export file
attached..
Note:
When you select the Email option, you don’t obtain a file that you can
save.
10-6
Chapter 10
Share Visualizations, Canvases, or Stories
10-7
A
Frequently Asked Questions
This reference provides answers to frequently asked questions for Oracle Data
Visualization Desktop.
Topics:
• FAQs to Install Data Visualization Desktop
• FAQs for Data Visualization Projects and Data Sources
Topics:
• How do I install Machine Learning and Advanced Analytics for Data Visualization
Desktop?
• Why can’t I install Data Visualization Desktop on my computer?
• How can I get the most current version of Data Visualization Desktop?
How do I install Machine Learning and Advanced Analytics for Data Visualization
Desktop?
Machine learning and advanced analytics are optional components and not
automatically installed with Data Visualization. If you want to use the Diagnostics
Analytics (Explain), Machine Learning Studio, or advanced analytics functionality, then
you must install machine learning.
Follow these steps to install the required version of machine learning on Windows.
1. Click Install DVML from the Data Visualization Desktop Windows Start menu.
This installation enables machine learning and advanced analytics for the
corresponding Data Visualization Desktop installation.
2. Click Yes when you see the following message: Do you want to allow the
following program to make changes to this computer?
A terminal window is displayed showing the progress of the installation.
3. The installer starts automatically on completion of the download. Follow the
displayed instructions to install machine learning to the selected install path.
4. Click Finish to close the installer.
5. Click any key when you see the message: Press any key to continue to
closes the terminal window.
A-1
Appendix A
FAQs for Data Visualization Projects and Data Sources
How can I get the most current version of Data Visualization Desktop?
If you open Data Visualization Desktop when a newer version is available, a message
is displayed, telling you to go to Oracle Technology Network to download the latest
version of the Data Visualization Desktop installer.
You can find the current version of the installer on Oracle Technology Network. See
Oracle Data Visualization Desktop Installation Download.
Topics
• What data sources are supported?
• What if I’m using a Teradata version different than the one supported by Data
Visualization?
A-2
Appendix A
FAQs for Data Visualization Projects and Data Sources
What if I’m using a Teradata version different than the one supported by Data
Visualization?
If you're working with a Teradata version different than the one supported by Data
Visualization, then you’ve to update the extdriver.paths configuration file before you
can successfully build a connection to Teradata. This configuration file is located here:
C:\<your directory>\AppData\Local\DVDesktop\extdrvier.paths. For
example, C:\Users\jsmith\AppData\Local\DVDesktop\extdriver.paths.
When updating the extdriver.paths configuration file, remove the default Teradata
version number and replace it with the Teradata version number that you're using.
Make sure that you include \bin in the path. For example if you're using Teradata
14.10, change C:\Program Files\Teradata\Client\15.10\bin to C:
\Program Files\Teradata\Client\14.10\bin.
A-3
B
Troubleshoot
This topic provides troubleshooting tips forData Visualization Desktop.
Topics
• When I import a project, I get an error stating that the project, data source, or
connection already exists
• When I try to build a connection to Teradata, I get an error and the connection is
not saved
• I have issues when I try to refresh data for file-based data sources
• I can’t refresh data from a MongoDB data source
• Oracle Support needs a file to help me diagnose a technical issue
• I need to find more information about a specific issue
When I import a project, I get an error stating that the project, data source, or
connection already exists
When you’re trying to import a project, you might receive the following error message:
“There is already a project, data source or connection with the same name as
something you’re trying to import. Do you want to continue the import and replace the
existing content?”
This error message is displayed because one or more of the components exported
with the project is already on your system. When a project is exported, the
outputted .DVA file includes the project’s associated data sources and connection
string. To resolve this error, you can either click OK to replace the components on
your system, or you can click Cancel and go into your system and manually delete the
components.
This error message is also displayed when the project you’re trying to import contains
no data. When you export a project without data, the project’s and data sources’
metadata are included in the .DVA. To resolve this issue, you can click OK to replace
the components on your system, or you can click Cancel and go into your system and
manually delete the data source or connection that’s causing the error.
When I try to build a connection to Teradata, I get an error and the connection is
not saved
When you’re trying to create a connection to Teradata, you might receive the following
error message:
B-1
Appendix B
Troubleshoot Data Visualization Issues
“Failed to save the connection. Cannot create a connection since there are some
errors. Please fix them and try again.”
This error message is displayed because the version of Teradata that you're using is
different from the version supported by Data Visualization. To resolve this issue,
update the extdriver.paths configuration file. This configuration file is located here: C:
\<your directory>\AppData\Local\DVDesktop\extdrvier.paths. For
example, C:\Users\jsmith\AppData\Local\DVDesktop\extdriver.paths.
To update the extdriver.paths configuration file, remove the default Teradata version
number and replace it with the Teradata version number that you're using. Make sure
that you include \bin in the path. For example if you're using Teradata 14.10, then
change C:\Program Files\Teradata\Client\15.10\bin to C:\Program
Files\Teradata\Client\14.10\bin. See What if I’m using a Teradata version
different that the one supported by Data Visualization?
I have issues when I try to refresh data for file-based data sources
Keep in mind the following requirements when you refresh data for Microsoft Excel,
CSV, or TXT data sources:
• To refresh an Excel file, ensure that the newer spreadsheet file contains a sheet
with the same name as the original file you uploaded. If a sheet is missing, then
you must fix the file to match the sheets in the original uploaded file.
• If the Excel, CSV, or TXT file that you reload is missing some columns, then you’ll
get an error stating that your data reload has failed. If this happens, then you must
fix the file to match the columns in the original uploaded file.
• If the Excel, CSV, or TXT file you used to create the data source was moved or
deleted, then the connection path is crossed out in the Data Source dialog. You
can reconnect the data source to its original source file, or connect it to a
replacement file, by right-clicking the data source in the Display pane and in the
Options menu select Reload Data. You can then browse for and select the file to
load.
• If you reloaded an Excel, CSV, or TXT file with new columns, then the new
columns are marked as hidden and don’t display in the Data Elements pane for
existing projects using the data set. To unhide these columns, click the Hidden
option.
Data Visualization requires that Excel spreadsheets have a specific structure. See
About Adding a Spreadsheet as a Data Set.
B-2
Appendix B
Troubleshoot Data Visualization Issues
B-3
C
Accessibility Features and Tips for Data
Visualization Desktop
This topic describes accessibility features and information for Data Visualization
Desktop.
Topics:
• Start Data Visualization Desktop with Accessibility Features Enabled
• Keyboard Shortcuts for Data Visualization
On Mac:
open /Applications/dvdesktop.app --args -sdk
When you run the command, you see Data Visualization Desktop open in a web
browser.
C-1
Appendix C
Keyboard Shortcuts for Data Visualization
Use these keyboard shortcuts while working on a visualization in the Visualize canvas.
Use these keyboard shortcuts while working with a filter in the filter panel on the filter
bar.
Use these keyboard shortcuts when you want to open, create, or edit artifacts such as
data sets, projects, data flows, and sequences in a new tab or window.
C-2
D
Data Sources and Data Types Reference
Find out about supported data sources, databases, and data types.
Topics
• Supported Data Sources
• Oracle Applications Connector Support
• Data Visualization Supported and Unsupported Data Types
Data Sources Supported for Use with Data Visualization Desktop on Mac
You can use these as data sources on Mac.
• Oracle Applications
• Oracle Database
• Oracle Essbase
• Oracle Autonomous Data Warehouse Cloud
• Oracle Talent Acquisition Cloud (Beta)
• Microsoft Excel XLSX File
• CSV File
Data Sources Supported for Use with Oracle Data Visualization Desktop
D-1
Appendix D
Supported Data Sources
D-2
Appendix D
Supported Data Sources
D-3
Appendix D
Oracle Applications Connector Support
D-4
Appendix D
Data Visualization Supported and Unsupported Data Types
Enterprise Edition deployments (if patched to an appropriate level) and another Oracle
Analytics Cloud service.
Oracle SaaS applications you can connect to:
• Oracle Sales Cloud
• Oracle Financials Cloud
• Oracle Human Capital Management Cloud
• Oracle Supply Chain Cloud
• Oracle Procurement Cloud
• Oracle Project Cloud
• Oracle Loyalty Cloud
Topics:
• Unsupported Data Types
• Supported Base Data Types
• Supported Data Types by Database
D-5
Appendix D
Data Visualization Supported and Unsupported Data Types
D-6
Appendix D
Data Visualization Supported and Unsupported Data Types
D-7
E
Data Preparation Reference
This topic describes the set and types of recommendation you can use to perform data
transform changes to a data set.
Topics:
• Transform Recommendation Options
E-1
Appendix E
Transform Recommendation Options
E-2
F
Expression Editor Reference
This topic describes the expression elements that you can use in the Expression
Editor.
Topics:
• SQL Operators
• Conditional Expressions
• Functions
• Constants
• Types
SQL Operators
SQL operators are used to specify comparisons between expressions.
You can use various types of SQL operators.
Operator Description
BETWEEN Determines if a value is between two non-inclusive bounds. For example:
"COSTS"."UNIT_COST" BETWEEN 100.0 AND 5000.0
BETWEEN can be preceded with NOT to negate the condition.
IN Determines if a value is present in a set of values. For example:
"COSTS"."UNIT_COST" IN(200, 600, 'A')
IS NULL Determines if a value is null. For example:
"PRODUCTS"."PROD_NAME" IS NULL
LIKE Determines if a value matches all or part of a string. Often used with
wildcard characters to indicate any character string match of zero or more
characters (%) or any single character match (_). For example:
"PRODUCTS"."PROD_NAME" LIKE 'prod%'
Conditional Expressions
You use conditional expressions to create expressions that convert values.
The conditional expressions described in this section are building blocks for creating
expressions that convert a value from one form to another.
F-1
Appendix F
Functions
Note:
Functions
There are various types of functions that you can use in expressions.
Topics:
• Aggregate Functions
• Analytics Functions
• Calendar Functions
• Conversion Functions
• Display Functions
• Mathematical Functions
• String Functions
• System Functions
• Time Series Functions
F-2
Appendix F
Functions
Aggregate Functions
Aggregate functions perform operations on multiple values to create summary results.
Analytics Functions
Analytics functions allow you to explore data using models such as trendline and
cluster.
F-3
Appendix F
Functions
Calendar Functions
Calendar functions manipulate data of the data types DATE and DATETIME based on a
calendar year.
F-4
Appendix F
Functions
Conversion Functions
Conversion functions convert a value from one form to another.
F-5
Appendix F
Functions
Display Functions
Display functions operate on the result set of a query.
F-6
Appendix F
Functions
Mathematical Functions
The mathematical functions described in this section perform mathematical operations.
F-7
Appendix F
Functions
String Functions
String functions perform various character manipulations. They operate on character
strings.
F-8
Appendix F
Functions
F-9
Appendix F
Constants
System Functions
The USER system function returns values relating to the session.
Constants
You can use constants in expressions.
Available constants include Date, Time, and Timestamp.
Types
You can use data types, such as CHAR, INT, and NUMERIC in expressions.
For example, you use types when creating CAST expressions that change the data type
of an expression or a null literal to another data type.
F-10
G
Data Visualization SDK Reference
This topic describes the software development kit (SDK) that you can use to develop
and deploy visualization plug-ins to your Data Visualization installation.
Topics:
• About the Oracle Data Visualization SDK
• Create the Visualization Plug-in Development Environment
• Create a Skeleton Visualization Plug-in
• Create a Skeleton Skin or Unclassified Plug-in
• Develop a Visualization Plug-in
• Run in SDK Mode and Test the Plug-in
• Validate the Visualization Plug-in
• Build, Package, and Deploy the Visualization Plug-in
• Delete Plug-ins from the Development Environment
Scripts
Your installation of Oracle Data Visualization includes the scripts that you use to
create a development environment and create skeleton visualization plug-ins. The
scripts are located in this directory: <your_installation_directory>/
tools/bin
G-1
Appendix G
Create the Visualization Plug-in Development Environment
Other Resources
These resources help you develop your custom visualization plug-ins:
• circlePack sample - The circlePack sample is included in your development
environment. You can deploy and use this sample immediately. However, the
sample is designed for you to use with the provided tutorial to learn how to
develop a visualization plug-in. You can also copy the sample and use it as a
template for the visualization plug-ins that you want to create.
The circlePack sample is located in <your_development_directory>\src
\sampleviz\sample-circlepack
For example, C:\OracleDVDev\src\sampleviz\sample-circlepack
• Other visualization plug-in samples - You can download plug-in examples from
the Oracle Data Visualization Download Page.
• Tutorial - The tutorial contains information and instructions to help you understand
how to create a robust visualization plug-in. This tutorial provides step-by-step
instructions for modifying the circlePack sample included in your plug-in
development environment.
Tutorial
• JS API documentation - This documentation contains JavaScript reference
information that you need to develop a visualization plug-in. See Data
Visualization SDK JavaScript Reference.
For information about the options available for running this script, see the script's
command-line help. For example,
C:\OracleDVDev>bicreateenv -help
The complete development environment, including build.gradle and gradlew, is
created in the directory that you specified.
4. (Optional) If you’re working behind a web proxy, then you need to set
gradle.properties to point to your proxy. The gradle.properties are located in your
G-2
Appendix G
Create a Skeleton Visualization Plug-in
• <subType> is the type of visualization that you want to create. Your choices are:
– basic - Use this option to create a visualization that doesn’t use any data
from Data Visualization or use any data model mapping. This is like the
Image and Text visualization types delivered with Data Visualization. For
example, you can use this visualization type to show an image or some
text that’s coded into the plug-in or from a configuration. You can use this
type of visualization to improve formatting.
– dataviz -This type renders data from data sources registered with Oracle
Data Visualization into a chart or table or some other representation on
the screen. It also respond to marking events from other visualizations on
the same canvas and publish interaction events to affect other
visualizations on the same canvas.
– embeddableDataviz - This type renders data from data sources
registered with Oracle Data Visualization into the cells of a trellis
visualization. It also responds to marking events from other visualizations
on the same canvas and publish interaction events to affect other
visualizations on the same canvas.
• <id> is your domain and the name that you want to give the visualization
directory and components in your development environment. For example,
com-company.basicviz.
• <name> is the name of the visualization plug-in that you test, deploy, and use in
Data Visualization projects.
For example to create a basic visualization, name its development directory com-
company-basicviz, and name the visualization plug-in helloViz, enter and run the
following command:
C:\OracleDevDir>bicreateplugin viz –subType basic –id com.company.basicviz —
name helloViz
2. (Optional) Open the script's command-line help for information about the options
available for running this script. For example, C:\OracleDVDev> bicreateplugin -
help
When you run the bicreateplugin -viz command for the first time, the system creates
the customviz directory in the following location.
<your_development_environment>\src\customviz
G-3
Appendix G
Create a Skeleton Skin or Unclassified Plug-in
All custom visualization development directories that you create are added to this
directory.
For example, C:\OracleDVDev\src\customviz\com-company-basicviz
1. Run the createplugin script included in your installation to create a skeleton plug-
in. Use one of the following syntaxes:
bicreateplugin -skin -<id>
• <id> is your domain and the name that you want to give the visualization. For
example, com-company.newskin
For example, to create a skin plug-in, enter and run the following command:
C:\OracleDevDir>bicreateplugin skin –id com.company.newskin
Tutorial
• Use the .JS API documentation to learn how to add dependencies. See Data
Visualization SDK JavaScript Reference.
G-4
Appendix G
Validate the Visualization Plug-in
• A system tray is displayed in the operating system's toolbar and includes three
links: Launch Browser, which you use to launch or relaunch your default
browser to display Data Visualization; Copy URL to Clipboard, which you can
use to copy the URL and paste it into a different browser; and Shutdown,
which you use to shut down the development browser.
2. Test your visualization by dragging and dropping it to a project’s canvas and
adding data elements.
3. If necessary, continue developing the visualization plug-in. When working in SDK
mode in the browser, you can update the .JS definition and refresh the browser to
see your changes.
This step validates whether the JSON configuration files are properly formatted
and contain appropriate visualization configuration. If the validation discovers any
errors, then the system displays error messages.
2. To check for errors in the JavaScript source files, use your browser’s development
tools.
G-5
Appendix G
Delete Plug-ins from the Development Environment
G-6