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.
Define the Main Fields to Show on the UI
- In the Properties panel, go to Data.
-
In the Display Fields section, select the fields to use.
Note:
For Date, you must associate a field that has a date format
to get a relevant display.

-
You can define the icons that must represent the selected fields.
-
Select Configure icons.
-
Select the Default icon to display in all cards.
-
From Icons, click to add fields and configure their mapping with specific
icons.
You can define an Additional mapping to apply a specific
icon depending on the conditions. To do so, you must define a
Comparator and an associated Value.
If values comply with the condition defined with the comparator, the visualization
shows the icon. For example, you can associate an icon with the field when the value
is inferior (<) to the expected value. From
matches, you can also specify a regular expression to
choose the icon to apply, depending on the value for the selected field.
-
From Icons colors, click to add colors to the icons selected for the fields in the
previous step.
| Option | Description |
|---|
| Mapping |
Specify how to map icons with colors:
- Manual: To select one or more colors manually. This is
the default color mode associated with all values.
To specify several colors,
select Customize.
- Global Palette: To use the global color palette that is
common to all visualizations. It associates field values to colors
automatically.
To override the automatic color mapping, select
Customize.
Note:
There is a limit in the number of colors available. Data Perspective Studio reuses the same colors when the number of values crosses this limit.
|
| Customize |
With this option, you can search for values and customize their colors.
There is a limit to this customization, which blocks the option when there are
more than 100 values.
|
| Additional mapping |
If the Mapping is Manual, you can
use this option to define conditions to apply colors. To do so, you must define a
Comparator and an associated
Value. If values comply with the condition defined with the
comparator, the visualization applies the color.
For example, you can define to associate a color when the value is inferior
(<) to the expected value.
From matches, you can also specify a regular expression to
choose the color to apply, depending on the value for the selected field.
|
Configure Properties for Complementary Information
You can configure additional properties to show as complementary information in
each timeline card.
-
From Properties, click to select the fields that you want to show in each timeline
card.
-
Configure the following options:
| Option | Description |
|---|
| Label |
Select a label for this element.
Note:
To localize this text in other languages, click , and select a translation key. You define keys and translation values in the Translation menu.
|
| Items |
Configure the fields to show as items in the content of this element.
|
| Horizontal alignment |
Select how to align the selected item values horizontally.
|
| More options |
Use these options to configure the display of the Label
format.
You can define a Font style (bold, italics, underlined),
select Customize font size to specify a size, select a
Label color, select a Background
color, and add Conditions for the display of items.
|
-
In Display type, select how to show the field information. For
example, with text, icon, line breaks ...
- Optional:
Click More options.
Define the Filters to Show on the UI
You can configure the filters available on the UI, when the users clicks
on the upper right of the
visualization. To do so, you specify the set of dimensions that users can select as
filters.
-
In the Properties panel, go to
Data.
-
In the Filters section, click .
-
If you switch From result set:
- On - Data Perspective Studio retrieves the dimensions defined on the result set specified in the
Result set section. From Dimension
reference, you can then select the dimension to add for the
filtering.
- Off - Select the field to use as filtering dimension.
-
From Label, enter the filter label.
Optionally, click if you want
to localize the label in other languages.
These filters display when you click on the upper right of the visualization. 
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.

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.
-
In Title, specify the visualization title.
| 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: 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.
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.
Push the Selection in a Variable
You can push the selection made in the visualization in a variable.
- In the Properties panel, go to Actions.
- In Selection variable, select the variable on which you want to push the selected hits.
You can choose a mono-valued or a multivalued variable as detailed below.
Configure Multi-Selection
You can configure the
History Timeline to select multiple objects and add them all in the
same variable.
Before you begin: You must have a Multivalued variable in your configuration.
- In the Properties panel, go to Actions.
- In Selection variable, select the multivalued variable on which you want to push selected hits. For example, mylist.
- In the Effects (On click) section, click .
- Define a Toggle selection effect so that when you click a first time, the object is selected, and when you click again, it clears the selection.
- From Behavior, select Toggle selection.
- In Information source, select uri.
- In Target studio variable, select your multivalued variable. For example, mylist.
Result: You can now select multiple objects in the visualization.
Configure On-Click Effects
You can specify several types of interactions for your visualization hits. For
example, you can configure an on-click effect so that clicking a hit opens the result
details in the
Hit Details visualization.
- In the Properties panel, go to Actions.
-
In the Effects (On click) section, click .
-
Specify the on-click effect by selecting a behavior:
Copy Data On-Drag
You can specify objects that the Data Viewer
(AEP) can drag to another 3DEXPERIENCE platform
app, to refresh the display of that app.
-
In the Properties panel, go to
Actions.
-
In the Copy data (On drag) section, configure the objects
that users can drop 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.
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.
|