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.
Switch to Another Type of Chart
You can switch from one type of chart to another in one click.
-
In the Properties panel, go to
Data.
-
In the Type section, click the icon corresponding to the type
of chart that you want to show.
Result:
Progress
Bar

Progress
Circle

Define the Measure to Show
You can configure the measures to show in the visualization. By default, Data Perspective Studio suggest the aggregations available in the query Result
set.
- In the Properties panel, go to Data.
-
From Aggregation, select the field containing the measure to
show, and the aggregation to apply.
Data Perspective Studio lists the numerical fields, and the aggregation functions defined in the data query.
The default aggregation is COUNT.
- Optional:
From More options, select more formatting options.
Note:
This visualization displays the Custom format by default
with a Suffix set to %.
| 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.
|
- Optional:
From Max value, select the max value of the progress
bar.
| Option | Description |
|---|
| Variable
value |
Select a dynamic variable containing the numeric value. |
| Aggregation
value |
Select an aggregation available for the selected Result
Set. |
| Static
numeric value |
Specify a numeric value manually. |
- Optional:
From Mode, select how to divide the progress bar:
- Select Divide in sections to divide the progress bar into
sections. The progress bar fills sections one after the other.
- From Milestones specify the list of milestones to display
manually. You can specify multiple milestones with a comma-separated list.
Define the Progress Bar Colors
You can configure the colors to display in the filled space (the completion) and
the empty space of the progress bar.
- In the Properties panel, go to Data.
-
Go to the Colors section, and from Filled space
color, specify how to colorize the filled part of the bar.
You can choose to colorize with a single static color or with a gradient scale
following the measure value.
-
For Empty space color, specify how to colorize the empty part
of the bar.
You can choose to colorize with a single static color or with a gradient scale
following the measure value.
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.
-
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: In Icon, select the icon that represents the visualization.
- 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).
- 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:
For a Progress
Bar, you can choose the progress bar Size among
Small, Medium, or
Large.
-
From Progress icon, select the icon to display at the start of
the horizontal bar or within the circle bar.
-
In Label, enter the label to display at the start of the
horizontal bar or below the circle bar.
Note:
To localize this text in other languages, click , and select a translation key. You define keys and translation values in the Translation menu.
-
Select Display value, to display the value at the end of the
horizontal bar or within the circle bar.
-
Select Display max value, to display the max value after the
Display value, at the end of the horizontal bar or within the
circle bar.
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.
|