Define the Data to Show
-
In the Properties panel, go to
Data.
-
Select a Query that is either a data query or a data fusion, previously defined in the
Queries menu.
-
If you have selected a data query, also select a Result
Set.
Split the KPI by Dimension Categories
You can choose to display KPI values for each dimension category instead of a
single KPI value. The Limit option defines the maximum number of
categories displayed by the visualization.
This option follows the same approach than the Split by dimension
option that you can apply on charts.
- In the Properties panel, go to Data.
-
Enable Split by dimension.
-
In Dimension, select the field to use.
- Optional:
Click More options to open more configuration
properties.
| Option | Description |
|---|
| Sort by |
Select how to sort dimension categories.
Alphanum: sorts the categories alphanumerically.
Custom: lets you specify how to sort the categories
contained in the dimension by defining Ordered
values.
Measure: lets you select any aggregation defined
either in or in the .
Click or to sort in ascending or
descending order.
|
| Format |
The options depend on the type of field that you selected.
For
String fields, you can select a text format among No
formatting, lower case, UPPER
CASE, Capital on first letter + no change
(capitalizes the first letter but does not change), Capital on first letter +
lowercase (capitalizes the first letter and turns all other letters to
lowercase), Capital On All First Letters (capitalizes the first
letter of each word).
For numeric fields, you can select
the number format to apply to the measure values. For example, a number with digits,
Currency (USD), Currency (Euro),
Exponential notation, Duration in
seconds, a Custom format...
For
Date,
DateTime,
LocalDateTime fields, you can select a date format. The default option
is User preferences. It ensures that you get a consistent date
and time across your 3DEXPERIENCE Platform
apps, by
following the preference defined in .
|
-
From Limit, select the maximum number of categories to display
for the dimension.
Define the Measure
You can configure the measure to show in the visualization. By default, Data Perspective Studio suggest the measures available in the data query result set.
- In the Properties panel, go to Data.
-
Select a Measure.
Data Perspective Studio lists the numerical fields, and the aggregation functions defined in the data query.
The default aggregation is COUNT.
- Optional:
Click More options to open more configuration
properties.
| Option | Description |
|---|
| Format |
Select the number format to apply to the measure values. For example, a number with
digits Currency (USD), Currency (Euro),
Exponential notation, Duration in
seconds, a Custom format...
Note:
You cannot apply a format to ranges of values.
The Custom format lets you configure many options like
Decimal places, Decimal separator,
Thousand separator, Prefix,
Suffix, Multiples… For these
Custom options, you can choose to define:
-
Static value: Enter the string to show for the selected option.
-
Translatable value: To localize the string in other languages,
you can select a translation key. You define keys and translation values in the
Translation menu.
-
Expression value: To configure a dynamic value, you can enter
an expression based on the expression language.
Use the Duration in seconds format to format a measure or a
dimension containing integers indicating time durations in seconds. It lets you define a
Duration Format option, set by default to
YMDhms (for year, month, day, hour, minute, seconds). Define the
format that best match your values by specifying the relevant units of time. For
example, if you have time values with several millions of seconds, it is better to
display them using year, months, and days only (by entering YMD). If
you append a 0 after the last unit of time in the field, you see 0
before this unit if it does not have a value. For example, YMD0 could
show 1 year 4 months 0 days.
|
-
In Title, enter the name to show on the UI.
| Option | Description |
|---|
| Static value | To enter a static textual value. |
|---|
| Translatable value | To localize the title or label in other languages, you can select a translation key. You
define keys and translation values in the
Translation menu. |
|---|
| Expression
value |
To configure a dynamic title or label, you can enter an expression based on
the expression language. In your expression, you can use a
Variable with VARIABLES.<variable name>
and a
Translation key with I18N.<translation key
name>.
For example, you can make a dynamic title like Number of cars sold in
{{country}}, where the title string is associated with the
myKey translation key, and {{country}}
is a variable: I18N.myKey.replace("{{country}}",
VARIABLES.country)
If the variable value is France, you get Number
of cars sold in France if English is the preferred language,
Nombre de voitures vendues en France if French is the
preferred language...
You can also use Aggregations coming from the
RESULT SET of your data query.
Example 1: You can configure a count in the title to get Number of
cars: <count value>. In the RESULT
SET, from the Aggregations section,
define a count_aggr aggregation with Count
as function aggregation.

In the visualization, use the count_aggr aggregation in the
Expression value: "Number of cars: " +
cars.count_aggr Example 2: You can configure the title to
display Car sales in: <set of country values>. In the
RESULT SET, from the
Aggregations section, define a
countries_aggr aggregation with To Set
as function aggregation.
In the visualization, use the countries_aggr aggregation in
the
Expression value: "Car sales in: " +
cars.countries_aggr.joinToString(separator: ", ", limit: 3) to
display a title like Car sales in: Belgium, Denmark,
England...
|
- Optional:
Give a Description to the KPI.
The description displays in a tooltip when you hover over the KPI
title.
Show KPI with Trend
You can activate the calculation of the history trend.
Data Perspective Studio calculates this difference automatically, based on the dimension provided, which is
supposed to have meaningful data that you can sort by date.
Typically, you can get the trend from the difference between the current COUNT and the
previous value.
- In the Properties panel, go to Data.
-
In the Trend section, activate Show KPI with
trend.
Note:
This option is not available if you have selected the Split by
dimension option beforehand.
-
From Measure, select the measure for which you want to get the
history.
- Optional:
Click More options to open advanced configuration properties.
For example, you can select a currency format like USD.
-
Select Up is best (default display), which means that a trend
up is green. If you clear the option, you get the opposite, a trend up is red.
Reduce the Scope of Dimensions with Local Filters
For a visualization that displays data for a dimension (for example, in a chart axis), it
can be useful to focus on specific values for that dimension. You can do so
using a local (internal) filter.
For example, if you have a priority dimension that contains Very
Minor, Minor,
Major, and
Critical priorities, you may want
to display values for the Major
and Critical priorities only.
-
In the Properties panel, go to
Data.
-
In the Local Filters section, specify the
Dimensions for which you want to filter data out as
follows:
-
From Field, select the dimension on which you want to
apply the filtering.
-
From Filtering mode, select
Include or Exclude.
-
From Values, select the set of values to include or
exclude from the dimension.
For example, for the Status dimension, you can
exclude
NULL values.

Show Underlying Data in a Data Panel
You can add a Show underlying data action in the
Actions menu of most charts. On-click, the Data Viewer
(AEP) can see more information about chart data in a data panel at the bottom of the page.
Recommendation:
Use the Open panel or dialog effect
instead of this feature.
-
In the Properties panel, go to
Data.
-
In the Data Panel section, select Enable Data
Panel.
-
From Fields, add the fields that you want to see as table
columns in the data panel.
- Optional:
Select Allow to reorder columns if you want the Data Viewer
(AEP) to be able to reorder columns by dragging their headers.
- Optional:
From Buttons, define the icons (and their on-click effects)
to show in an Actions column.
- Optional:
Select Enable drag to add a drag icon in the first column for users to drop objects
in another 3DEXPERIENCE platform
app.
-
In Object ID source, select the field to use as data
source.
-
In Object type source, specify the name of the object to
drag. For example,
VPMReference.
- Optional:
In Object path source, specify the field containing the
definition of the
path attribute.
Note:
The destination app uses the path attribute to get the context of the dragged
object.The field must be a tuple table, where each tuple defines a
resourceid attribute, and a type attribute
(Tuple<resourceid: string, type: string>).
[{
"resourceid": "7ED583CD0000168C63C6F2E200020D1F",
"type": "VPMReference"
},
{
"resourceid": "7ED583CD0000168C63C6F2E300043C51",
"type": "VPMInstance"
},
{
"resourceid": "7ED583CD0000168C63C6F2E200020D56",
"type": "VPMReference"
}
]
-
For 3DEXPERIENCE Service, select the variable, which
contains the id of the 3DEXPERIENCE platform service. For example, 3DSpace.
- Optional:
Select Add "Open with" in the actions column to add a button
allowing the Data Viewer
(AEP) to open an object in another 3DEXPERIENCE platform
app.
For example, 3D Markup, CATIA V5,
Product Explorer, or Product Structure Editor.
- Optional:
Enter the Label to show on the Open
with button.
-
In Icon, specify the button icon.
- Optional:
You can also add a tooltip and a theme.
- Optional:
From Effects (On checkbox click), you can define an
interaction with a 3D app
outside of your Data Perspective to select a part. When the Data Viewer
(AEP) clicks a 3D object in the data panel, the 3D app
refreshes to show corresponding data.
Note:
To do the opposite, that is, click an object in a 3D app
and refresh the Data Perspective view, use Effects (On 3D Selection).
- Optional:
From Effects (On 3D Selection), you can define how the data
panel reacts, when the Data Viewer
(AEP) clicks a 3D object in a 3D app
outside of your Data Perspective. The data panel refreshes to show the data selected in the 3D app.
Result:

Configure the Display
You can configure the display using several options.
-
In the Properties panel, go to Display.
- From Display type, define the display type of the visualization between Card and No card.
The Card type applies the Cards configuration defined for the applied page theme in the menu.
- Optional: Select Minimizable to add a Minimize option in the Actions menu, allowing users to collapse the visualization.
You can also select Minimized by default if you want the default display to show a collapsed view of the visualization. - Optional:
From Value icon, select the icon to show on the left of the
KPI value.
The icon uses the color defined for the Text color property.
- Optional:
From Content display, select how the content should fit in KPI
card.
| Option | Description |
|---|
| Large |
Applies a confortable gap and margin to highlight the content. |
| Compact |
Applies less gap and margin around content. |
| Vertical |
Applies a vertical layout. |
| Horizontal |
Applies a horizontal layout. |
| Automatic |
Applies an adaptative layout. |
Define the KPI Colors
You can define the background color of your KPI.
-
In the Properties panel, go to Display.
-
In the Colors section, define the Background
color.
| Option | Description |
|---|
| Type |
Specify how to colorize the KPI. You can choose among the following options:
- Static to use a single static
Color.
- By measure to colorize based on the values of a
measure.
- By target to compare the kpi value with a target value
and colorize if the condition is met.
|
| Gradient type | If the Type is By measure, you can use this option to split the color scale into intervals. There are 2 splitting strategies: Linear: Split the color scale into N gradient colors. Discrete: Split the color scale into N discrete intermediate colors. |
|---|
| Target |
If the Type is By target, you can
specify a target value.
- Custom: Specify a numerical
Value. For example, 5.
- Measure: For Value, specify the
numerical field and the aggregation to use as a target. For example, for an
age field, you can select AVG to
place the target on the average age.
- Variable: Use this option to retrieve the value
dynamically from the Variable field. For example, you can
add the current date as the target.
Click to add a
Conditional display. For
Comparator, select the condition comparator. For example,
select <= if you want the condition to apply only if the
field value is lower or equal to the value.
For Color, select the color to apply when the value
matches the condition. For example, green.
Select Use for menu, to show additional menu actions
when the value matches the
condition. To add additional menu actions for reached targets, see Add Specific Actions for Reached Targets.
|
Add a Condition to Show the Visualization
You can add conditions to show or hide visualizations. This is useful to choose
whether to reveal or hide information, depending on a variable value or a user role.
You can also add conditions on home page
buttons, menu sections, and subsections.
Note:
If you add several conditions on the same visual element, Data Perspective Studio interprets them implicitly with OR operators (for example,
condition1 or condition2).
-
In the Properties panel, go to Display.
-
In the Conditional display section, click to add a Condition.
-
For Select item to compare, choose one of the following
options on the right of the field:
| Option | Description |
|---|
| Variable
value |
Use this option to select the variable that stores the condition values. For
example, select a variable called myvar with an
Initial value set to 5.
The supported types of variables are:
-
String
-
Integer
-
Float
-
Boolean
-
List for any of the above types.
|
| User roles |
Use this option to verify that the user has the role defined in Value.
|
-
For Comparator, select the condition comparator.
- If you selected
Variable value, you can choose between several operators. For
example, select <= if you want the condition to apply only
if the field value is lower or equal to the condition value.
- If you selected
User roles, you can choose between
contains or does not contain.
-
For Value, specify the condition value.
- If you selected
Variable value, specify a value corresponding to the variable
type.
For example, if the variable initial value 5 is
<= to the condition value 6,
the visualization is visible.

- If you selected
User roles, enter a role trigram.
For example, if the user roles contain AEP (trigram for the Data Viewer
(AEP)
role), the Data Perspective is visible to all users having the Data Viewer
(AEP)
role.
Configure Value Click Effects
You can specify several types of on-click effects for the KPI value.
- In the Properties panel, go to Actions.
-
In the Effects (On value click) section, click .
-
Specify the on-click effect by selecting a behavior:
| Option | Description |
|---|
| Apply local filters |
Applies the Local filters defined in
Data to the chosen filter scope. It adds these filters to
the filters already applied (it does not override them).
|
| Navigate to |
You can choose between the following modes:
-
Page (default mode): Select the destination page
to open when you click an object. The target is the destination page
where the user goes after clicking an object. For example, for a
visualization showing risks, clicking a risk could redirect the user to
a details page.
-
Static URL: Enter the link to the target page.
Links open a new browser tab and there is no limitation on the URL (for
example, it can be an external link to a PDF file).
-
String variable: Select a string variable
containing the URL to open. You define the URL in the Initial
value field of the variable, for example,
www.example.com.
|
| Reset filter scope | Resets all filters inside a filter scope to their default values. For example, this can be useful for an On page leave effect when you navigate to another page. Target filter scope: Select the filter scope applied to the Data Perspective Studio data query. |
|---|
| Clear variable |
Clears the variable that stores the data. Target studio variable: Select the data query variable where Data Perspective Studio stores source data.
|
| Reset variable |
Resets the variable that stores the data to its Initial value.
Target studio variable: Select the data query variable where Data Perspective Studio stores source data.
|
Add Specific Actions for Reached Targets
You can add specific menu actions for reached targets in the list of available
actions in the upper right of the
visualization.
- In the Properties panel, go to Actions.
-
From Menu actions for reached targets, click to add a specific menu action.
-
From Conditional display, configure the target conditions to
display the action in the list of available actions.
The action displays in the list if at least one of the condition is filled.
Override the Applied Theme with a Specific Style
You can override the theme applied to all Data Workspace pages and visualizations with a specific style defining different display
settings.
Before you begin: You have defined a style in .
- In the Properties panel, go to Style.
- Select the style to apply to the visualization.
|