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 Filters
-
In the Properties panel, go to
Data.
-
From the Filters configuration section, click to add a Filter.
-
From Field or dimension, select the dimension to show in the
Filter bar.
Data Perspective Studio suggests the fields available in the data query Result set or the
data fusion that you have
selected.
- Optional:
If the data type is a
String, a Boolean, or a
numerical value, multiselection is activated by default.
You can clear the Use multi-selection checkbox if you want
users to select a single value only.
- Optional:
If you do not want to show the dimension name as such, you can specify another name
in Label.
Note:
To localize this text in other languages, click , and select a translation key. You define keys and translation values in the Translation menu.
- Optional:
From Icon, select the icon that will precede the dimension
name or its Label in the list.
Result:
After your filter configuration, users must choose a comparator and the values to filter
on. The comparators and the value selection depend on the value type of the source
dimension:
Example: The
is and
is not comparators for a
String value.

Example: A slider for the selection of a numerical range.

Configure the Display
You can configure the display using the Display type option.
-
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.
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.
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.
|