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.
Configure the Refinement Behavior
Refinements are disjunctive. You can select multiple category values, and see the
others available. By default, Data Perspective Studio applies each refinement on category values automatically. You can select Show
Apply button to select several refinements and apply them all at once manually.
- In the Properties panel, go to Data.
-
From the Refinement section, select Show Apply
button.
Define the Dimension
Configure the dimension to show in the chart by selecting a field.
Data Perspective Studio suggests the dimensions available in the Result Set of the
selected data query, or the dimensions
of the selected data fusion.
- In the Properties panel, go to Data.
-
In Dimensions, 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.
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 .
|
| Display value |
Lets you select another field of the same type that has a bijection with
the current field as display value.
It is typically useful when you
have technical values but want to display more readable values instead. For
example, if your dimension contains ids, you can choose to display names to
filter on users.
|
-
In Filter component, select the UI component that will allow
users to filter out data.
The available components depend on the selected dimension and the type of value that
it contains (single value, multivalued, range, tree, or date). In the following example,
Dropdown filter is defined for multivalued data. End-users can
quickly see the items that are filterable and filter on a specific dimension very
quickly.

- Optional:
If your field stores data of type
List, you can select
Show as hierarchical tree to get a display with several levels
of depth. You can expand and collapse these levels.
- Optional:
If you do not want to show the field name, you can specify a title in
Label. This label displays in the Refine
panel if there is more than one dimension, or if you also have one or more
filters in Other filters.
| 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...
|
-
From Number of values per dimension, select the max number of
categories to show per page for each dimension.
Data Perspective Studio Then applies pagination for other values.
- Optional:
From Show count of values, select if you want to display the
badge showing the count of values for each dimension category. This option is activated
by default.
Use Custom Attributes as Filters
If you have a Map field defining a mapping between custom attribute names and dimensions, you can select it from Values map field. Note:
The map field can contain up to 50 dimensions.
Context: In the following procedure, the mymapfield has been created in the data query ResultSet with the following expression: [
"field1": name,
"field2": country,
"field3": category
] Where: "field1", "field2", and "field3" are hard-coded attribute names. name, country, and category are variables displaying the content of the name, country, and category fields.
- In the Properties panel, go to Data.
- In Values map field, select the map field to use. For example,
mymapfield.
Result: When you click , the
Refine Panel shows the custom attributes defined in your map
field.

Configure Other Filters Based on Variables
You can configure other filters based on variables.
-
In the Properties panel, go to
Data.
-
From the Other filters section, click to add a Filter.
-
From Variable, select a variable on which you want to apply
the filter.
Examples:
- You can configure filters based on string variables, and not on filter scopes.
Using this filtering on string variables, users can see the filters applied by other
visualizations, and remove them if required. For example, you can use a filter
variable to filter the content of a Search
visualization.
- You can also select a variable with several predefined options and show them in
the visualization, so that users can filter out the content.
-
From Label, enter the name of the filter to show on the
UI.
- Optional:
From Icon, select the icon to show next to the filter variable
in the visualization.
- Optional:
For Editor, select the editor to use for the filter value.
Select None, to show filters for visualizations that are
internal to the Data Perspective. For example, a Search field.
Select IFrame to show and edit filter strings for an external
editor, for example BIOVIA
Pipette Sketcher.
-
For Display component, select how to display the filters on
the UI.
The available display components depend on the variable type.
| Variable type | Available components |
|---|
| String |
For a mono-valued variable:
- If the variable contains Options, you can display a
List (monovalued), or a
Dropdown.

- If the variable does not contain any Options, you
display a single value only.

For a multivalued variable:
- If there are Options, you can display a
List (multivalued), or a
Dropdown.

- If the variable does not contain any Options, you can
click to display several
separate values.

|
| Numerical |
For a mono-valued variable:
- If the variable contains Options, you can display a
List (monovalued), or a
Dropdown.

- If the variable does not contain any Options, you can
display a single value only or a slider with min and max values.

For a multivalued variable:
- If there are Options, you can display a
List (multivalued), or a
Dropdown.

- If the variable does not contain any Options, you can
click to display several
separate values.

|
| Date |
For a mono-valued variable, you can display a calendar. For a multivalued
variable, you can click to
display several calendars.

|
| Boolean |
For a mono-valued variable, you can display a switch button. For a
multivalued variable, you can click to display several switch buttons.

|
-
From Input placeholder, enter the name of the placeholder to
show in the filter field.
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...
|
-
In Icon, you can select the icon to show in the visualization
header.
- Optional:
Select Hide header, if you want to show the
visualization without header (this hides the Title, the
icon if the visualization can show one in the header, and the
Actions 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.
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 On-Click Effects
You can specify several types of effects for your visualization filtering. For
example, you can specify a Filter effect to apply the filters to one
or several Result Sets.
-
In the Properties panel, go to
Actions.
-
Click to add a new effect.
-
Specify the on-click effect by selecting a behavior:
| Option | Description |
|---|
| Set variable |
Specify the variable that stores the data.
Target studio variable: Select the data query variable where Data Perspective Studio stores source data.
|
| Load data in 3D |
Loads 3D data in 3D Navigate.
Configuration: Root: The variable of type
String containing the identifier of the root 3D model to load in 3D Navigate. Type: The object type of the root 3D model to load.
Typically, VPMReference. 3DExperience
service: The variable, which contains the ID of the service, which inputs
data. It uses 3DSpace as default value.
Filter Scope: Select a filter scope defined in . The filter scope contains the filters to send. It uses the
general scope by default, to filter all charts even if you have
not defined a specific filter scope. Filters: Specify the
filters to send to the 3D Navigate
app. To
filter out the view, map fields with tag names. For example, you can select the
country
Field and enter ds6w:country as predicate in
Mappings. For Mappings: Specify
the tag to map with the selected field (for more information about tag customization,
see Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Platform Administration | 3DSearch (Federated Search) | 3DSearch (Federated Search) | Customizing Tags). If the field is of type List (multivalued), define an ordered list
of mappings corresponding to each level in the hierarchy. For example, a mapping for
ds6w:country, followed by a mapping for ds6w:city,
creates a filter hierarchy where country is parent of city.
|
Result:
Example of Filter effect, with a value selection in a view with a
single ResultSet:

To exclude values from filters, click their block icon. Excluded values are highlighted with a red check box
and a red block icon.

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.
|