Last modified by Aurelie Bertrand on 2025/07/22 14:38

Hide last authors
Aurelie Bertrand 2.1 1 (% class="box infomessage" %)
2 (((
Aurelie Bertrand 112.1 3 🙋 This tutorial is intended for **advanced users**.
Aurelie Bertrand 2.1 4
Aurelie Bertrand 112.1 5 ⏱ It is designed to be followed independently in **1 hour**.
Aurelie Bertrand 2.1 6 )))
7
8 ----
9
10 {{ddtoc/}}
11
12 ----
13
14 = Introduction =
15
Aurelie Bertrand 112.1 16 In this tutorial, we are goint to discover how to create and apply an Alerter (or alerter format), using two examples.
Aurelie Bertrand 2.1 17
Aurelie Bertrand 112.1 18 The Alerter format is used to modify the display of data according to its value, using specific text, colors or icons. This makes it quick and easy to identify data requiring specific attention.
Aurelie Bertrand 2.1 19
Aurelie Bertrand 112.1 20 The dataset "retail" used in the tutorial corresponds to fictitious data from a retail company containing product information and data such as price, turnover, margin, etc.
Aurelie Bertrand 2.1 21
Aurelie Bertrand 112.1 22 This tutorial takes place in the Studio.
23 The steps of this tutorial are as follows:
Aurelie Bertrand 3.1 24
Aurelie Bertrand 112.1 25 * Creation of the data model based on the file retailen.xlsx
26 * Creation of tables showing turnover and margin data
27 * Creation of new alerter formats
28 * Application of alerter formats and vizualisation of results
Aurelie Bertrand 4.2 29
Aurelie Bertrand 112.1 30 = Prerequisites =
Aurelie Bertrand 2.1 31
Aurelie Bertrand 112.1 32 In order to complete this tutorial, you need to :
Aurelie Bertrand 2.1 33
Aurelie Bertrand 112.1 34 * have installed DigDash Enterprise version 2025R1 or higher;
35 * be a user with the**"Data model designer**" authorization group;
36 * download the Excel file [[retailen.xls>>attach:retailen.xls]].
Aurelie Bertrand 2.1 37
38 (% class="box" %)
39 (((
Aurelie Bertrand 112.1 40 ℹ The screenshots in this tutorial were produced using the Chrome browser. There may be slight differences depending on the browser.
Aurelie Bertrand 2.1 41 )))
42
Aurelie Bertrand 112.1 43 = Step 1: Create and configure the data model =
Aurelie Bertrand 2.1 44
Aurelie Bertrand 112.1 45 == Import the data source retailen.xls ==
Aurelie Bertrand 4.3 46
Aurelie Bertrand 112.1 47 Here we're going to import the data from the Excel file retailen.xls downloaded earlier. To do this:
Aurelie Bertrand 4.3 48
Aurelie Bertrand 112.1 49 1. Launch the Studio.
50 1. Click the **Models** tab.
51 1. Click the **New model** button.
52 1. In the **Create a new data model** box, select **All types **in the **Files **section; Then add and select the file //retailfr.en//.
53 1. Click **OK**.
Aurelie Bertrand 4.3 54
Aurelie Bertrand 112.1 55 The **Excel File **window appears. It offers data selection options and a preview of the data. Here we will configure the data model.
Aurelie Bertrand 4.3 56
Aurelie Bertrand 112.1 57 == Configure the data model ==
Aurelie Bertrand 4.3 58
Aurelie Bertrand 112.1 59 The elements in the first row of the table correspond to the heading of the data in each column. We are therefore going to use them as column headings. To do this, in the **Data selection** section, check the **First row as header** box.
Aurelie Bertrand 4.3 60
Aurelie Bertrand 112.1 61 === Filter product families ===
Aurelie Bertrand 4.3 62
Aurelie Bertrand 112.1 63 Here we are going to concentrate on the product families:
Aurelie Bertrand 4.3 64
Aurelie Bertrand 112.1 65 * Housing
66 * Deli
Aurelie Bertrand 4.3 67 * Dessert
Aurelie Bertrand 112.1 68 * Tickets
Aurelie Bertrand 4.3 69
Aurelie Bertrand 112.1 70 We are therefore going to filter the rows for which the **Product** **Family **field is equal to the above values. To do this, in the **Data selection** section :
Aurelie Bertrand 4.3 71
Aurelie Bertrand 112.1 72 1. Click the **Add...** button.
73 1. In the **Edit filter rule** box, select** Product Family**, then **match regular expression **and fill in **Housing|Deli|Dessert|Tickets**.
74 [[image:Rule_family_product_FR.png]]
75 1. Click** OK**.
76 ➡ The other members of the **Family **dimension are greyed out.
77 1. Click the **Next** button at the bottom right to open the **Advanced configuration** window.
Aurelie Bertrand 4.3 78
Aurelie Bertrand 112.1 79 === Create the measures Sales (Year - 1) and Sales ~(% Progression) ===
Aurelie Bertrand 4.3 80
Aurelie Bertrand 112.1 81 We are now going to create 2 new measures using the assistant: Sales (Year - 1) and Sales ~(% Growth) in order to obtain the change in revenue from one year to the next. To do this:
Aurelie Bertrand 4.3 82
Aurelie Bertrand 112.1 83 1. In the **Columns** tab, click the **New measure** button.
84 1. Click **Calculated measure**:
85 1*. For the measure **Sales (Year - 1)**, drag and drop the **Year - 1** function from the **Transformer **tab onto the** Sales** measure.
86 [[image:Sales_y-1_EN.png||alt="Sales-1" height="608" width="1073"]]
87 1*. For the measure **Sales ~(% Progression):**
88 1**. Drag and drop the **% Progression** function from the **General **tab onto the** Sales** measure.
89 1**. Define the progression between the **First measure**: //Sales (Year-1) //and the **Second measure**: //Sales.//
90 1**. Select the **Format **: //Percentage //and click **OK**.
91 [[image:Sales_progression_FR.png||alt="Sales progression"]]
92 ➡ The calculated measures are added to the list of columns.
93 1. In the** Properties** tab, enter **retailen** as name for the data model and then click **Finish **at the bottom right to save it.
Aurelie Bertrand 4.3 94
Aurelie Bertrand 112.1 95 Now that the data model retail is configured, we can create the charts based on this model.
Aurelie Bertrand 6.2 96
Aurelie Bertrand 112.1 97 = Step 2: Create the charts =
Aurelie Bertrand 6.2 98
Aurelie Bertrand 112.1 99 We are now going to create the charts in which we will use the alerters. They will be based on the data model //retailen//.
Aurelie Bertrand 6.2 100
Aurelie Bertrand 112.1 101 To create a chart (flow), in the **Flows** tab, click the **New {{glossaryReference glossaryId="Glossary" entryId="Flux"}}Flow{{/glossaryReference}}** button and then select the desired flow.
Aurelie Bertrand 6.2 102
103 (% style="line-height: 1.2; text-align: justify;" %)
Aurelie Bertrand 112.1 104 == Table "Sales by Product family" ==
Aurelie Bertrand 6.2 105
Aurelie Bertrand 112.1 106 1. Create a new {{glossaryReference glossaryId="Glossary" entryId="Flux"}}Flow{{/glossaryReference}} and select **{{glossaryReference glossaryId="Glossary" entryId="Tableau croisé"}}Cross table{{/glossaryReference}}** as type.
107 1. Select the data model and enter the name **Sales by Product family**.
108 1. Drag and drop the dimension the **Family **onto the **Column 1** axis.
109 1. Place the measures **Sales**, **Sales (Year-1)** and **Sales ~(% Growth)** on the **Line 1** axis.
110 [[image:Salbes_by_family_FR.png||alt="Sales by family" height="532" width="1014"]]
111 1. Click the sort button for the **Column 1** axis and apply a descending sort to the measure **Sales**.
112 [[image:Sorting_sales_EN.png]]
113 1. Click **OK **to save.
Aurelie Bertrand 6.4 114
115 (% style="line-height: 1.2; text-align: justify;" %)
Aurelie Bertrand 112.1 116 == Table "Sales and margin for housing products" ==
Aurelie Bertrand 6.4 117
Aurelie Bertrand 112.1 118 1. Create a new {{glossaryReference glossaryId="Glossary" entryId="Flux"}}Flow{{/glossaryReference}} and select **Table** as type.
119 1. Select the data model **retailen **and enter the name **Sales and margin for housing products**.
120 1. Place the **Product **dimension on the **Column 1** axis.
121 1. Place the **Sales **and **Margin **measures on the** Column 2 **and **3** axes.
122 1. Filter the** Product Family **on the** **member **Housing**.
123 [[image:Sales_margin_housing_FR.png]]
124 1. Click **OK** to save and confirm saving the filter.
125 [[image:Saving_filters_EN.png||alt="Saving filter"]]
Aurelie Bertrand 6.5 126
Aurelie Bertrand 112.1 127 = Step 3: Create alerter formats =
Aurelie Bertrand 6.5 128
Aurelie Bertrand 112.1 129 We are now going to create the alerters or alerter formats that we will use in the tables we created earlier.
Aurelie Bertrand 6.6 130
Aurelie Bertrand 112.1 131 To create a new alerter :
Aurelie Bertrand 13.1 132
Aurelie Bertrand 112.1 133 1. Go to the **Managers **tab and select **Formats** to open the Format editor.[[image:Format_manager_EN.png||height="436" width="879"]](((
134 ➡ The **Format editor** opens and lists the available types and formats.
Aurelie Bertrand 13.1 135 )))
Aurelie Bertrand 112.1 136 1. Select the format type **Alerter** and click the **+** button.
137 [[image:Format_editor_+_EN.png||height="508" width="874"]]
Aurelie Bertrand 6.6 138
Aurelie Bertrand 112.1 139 == Create the alerter "_tutorial_progression" ==
Aurelie Bertrand 13.2 140
Aurelie Bertrand 112.1 141 We are going to create a first alerter to highlight the percentage increase of sales in the table "Sales by Product family":
Aurelie Bertrand 13.2 142
Aurelie Bertrand 112.1 143 * A red downward arrow for negative progession
144 * A grey equal sign for zero progression
145 * A green up arrow for positive progression
Aurelie Bertrand 13.2 146
Aurelie Bertrand 112.1 147 1. Create a new alerter with the name **_tutoriel_progression **and the role **(None)** (no role restriction).
148 [[image:Format_name_tuto_progression_EN.png||alt="Format name" height="165" width="367"]]
149 ➡ The new alerter is added to the list on the left.
150 1. In the **Language **field on the right, leave **Default**: the alert will apply by default to all languages.
Aurelie Bertrand 13.3 151
152 (% class="box infomessage" %)
153 (((
Aurelie Bertrand 112.1 154 💡 It is possible to select the language for which the alerter will be effective. In this way, we can disassociate a behaviour from the alerter format depending on the user's language.
Aurelie Bertrand 13.3 155 )))
156
157 (% start="3" %)
Aurelie Bertrand 112.1 158 1. Click the **+** button in the **Edit format...** section on the right to configure the different outputs:
159 1*. **Zero progression :**
160 1*1. For the **Input Type**, select //Value //and enter //0//.
161 1*1. For the **Output Type**, select //Colour + icon// with //Percent// **Format**.
162 1*1. Then select the grey equal sign as **//Image//**.
163 [[image:Zero_alerter_EN.png||alt="Zero output"]]
164 1*1. Click **OK**.
165 1*. **Negative progression :**
166 1*1. For the **Input Type**, select //Range//.
167 1*1. Then select //-infinite// for the **Minimum **and enter //0// for the **Maximum**.
168 1*1. For the **Output Type**, select //Colour + icon// with //Percent// **Format**.
169 1*1. Then select the red down arrow sign as **//Image//**.
170 [[image:Neg_alerter_EN.png]]
171 1*1. Click **OK**.
172 1*. **Positive progression :**
173 1*1. For the **Input Type**, select //Range//.
174 1*1. Then enter //0// for the **Minimum **and select //+infinite// for the **Maximum**.
175 1*1. For the **Output Type**, select //Colour + icon// with //Percent// **Format**.
176 1*1. Then select the green up arrow sign as **//Image//**.
177 [[image:Pos_alerter_EN.png||alt="Positive alerter"]]
178 1*1. Click **OK**.
179 ➡ The alerter items are listed.
180 [[image:1753169682786-137.png||alt="Alerter" height="448" width="1190"]]
Aurelie Bertrand 11.1 181
Aurelie Bertrand 13.4 182 (% class="box infomessage" %)
Aurelie Bertrand 13.2 183 (((
Aurelie Bertrand 112.1 184 💡You can create several layouts for your alerter.
185 Note also that the layout defined as **Default **will be used if no other layout applies to the data and that the order of priority for layouts is from top to bottom.
Aurelie Bertrand 13.2 186 )))
187
Aurelie Bertrand 112.1 188 == Create the alerter "_tutorial_margin" ==
Aurelie Bertrand 13.5 189
Aurelie Bertrand 112.1 190 We're going to create a second alerter to highlight the margin value for the table "Sales and margin for housing products".
191 Here, we're going to fill in the background of the data in green for any numerical value greater than or equal to 500. We will also add formatting to display data below the numerical value 480 in red:
Aurelie Bertrand 13.5 192
Aurelie Bertrand 112.1 193 1. Create a new alerter format with the name **_tutorial_margin **and the role **(None)** (no role restriction).
194 ➡ The new alert is added to the list on the left.
195 1. In the **Language **field on the right-hand side, leave **Default**: the alert will apply by default to all languages.
196 1. Click the **+** button in the **Format Editing** section on the right to create the different layouts:
197 1*. **Margin greater than 480 :**
198 1*1. For the **Input Type**, select //Value//.
199 1*1. Then enter //480// for the **Minimum **and select //+infinite// for the **Maximum**.
200 1*1. For the **Output Type**, select //Color// with //Number// as **Format**.
201 1*1. Then select the **Fill color** (green: #71c31f).
202 [[image:Alerter>480_EN.png||alt="Margin greater"]]
203 1*1. Click **OK**.
204 1*. **Margin less than 480 :**
205 1*1. For the **Input Type**, select.
206 1*1. Then**// //**select //-infinite// for the **Minimum **and enter //450// for the **Maximum**.
207 1*1. For the **Output Type**, select //Color// with //Number// as **Format**.
208 1*1. Then select the **Fill color** (red: #d95858).
209 [[image:Alerter<480_EN.png||alt="Margin less"]]
210 1*1. Click **OK**.
211 ➡ The alerter items are listed.
212 [[image:tutorial_margin_EN.png||alt="_tutorial_margin" height="515" width="926"]]
Aurelie Bertrand 13.2 213
Aurelie Bertrand 21.2 214 (% class="box infomessage" %)
215 (((
Aurelie Bertrand 112.1 216 💡Using an alerter to change the background color is a classic format application.
217 You can also use alerter to change the output format according to the input data (for example, Percentage instead of Number).
Aurelie Bertrand 21.2 218 )))
219
Aurelie Bertrand 112.1 220 The creation of the alerters is now finished: click **OK** at the bottom right to save and close the **Format editor**.
221 We're now going to assign the alerters to the data.
Aurelie Bertrand 13.7 222
Aurelie Bertrand 112.1 223 = Step 4: Apply the alerter to the data =
Aurelie Bertrand 15.2 224
Aurelie Bertrand 112.1 225 It is possible to apply an alerter format to a flow or a data model.
226 It is generally recommended to apply an alerter format to the flow used to display the desired information.
227 Indeed, by applying a format to the data model, you will affect all the flows using this model. Similarly, if you edit an existing model by assigning an alerter or other format, then when the {{glossaryReference glossaryId="Glossary" entryId="Flux"}}Flow{{/glossaryReference}} is synchronized again, the data displayed will be modified.
Aurelie Bertrand 16.1 228
Aurelie Bertrand 112.1 229 Here we are going to apply the alerter formats to the Flows.
Aurelie Bertrand 42.1 230
Aurelie Bertrand 112.1 231 == Progression alerter ==
Aurelie Bertrand 16.1 232
Aurelie Bertrand 112.1 233 1. Open the table "Sales by Product family" from the **Flows **tab in the Studio.
234 1. Right-click the measure **Sales** **~(% Progression)**.
235 1. In the context menu that appears, click on **Apply a format** > **Alerter** > **_tutorial_progression (Alerter)**.
236 **[[image:Apply_alerter_progression_EN.png||alt="Apply alerter"]]**
237 \\➡ The display of the measure //Sales// //~(% Progression)// is modified.
238 [[image:Sales_progression_alerter_EN.png||alt="Display modified"]]
239 1. Select a year in the **Date** filter, for example 2017, to view the case of positive or negative progression.
240 [[image:Sales_progression_eg_EN.png]]
Aurelie Bertrand 16.1 241
Aurelie Bertrand 112.1 242 == Margin alerter ==
Aurelie Bertrand 16.1 243
Aurelie Bertrand 112.1 244 1. Open the t//able "Sales and margin for housing products" //from the **Flows **tab.
245 1. Right-click the measure **Margin**.
246 1. In the context menu that appears, click **Apply a format** > **Alerter** > **_tutorial_margin_tutorial (Alerter)**.[[image:Apply_alerter_margin_EN.png||alt="Apply alerter"]](((
247 ➡ The display of the //Margin// measurement is modified accordingly.
248 [[image:Sales_margin_eg_EN.png||alt="Margin alerter"]]
Aurelie Bertrand 25.1 249
Aurelie Bertrand 112.1 250 = Congratulations! =
Aurelie Bertrand 25.1 251
Aurelie Bertrand 112.1 252 You have successfully created and applied your first alerter formats.
Aurelie Bertrand 25.1 253
Aurelie Bertrand 112.1 254 Alerter formats allow more advanced formatting than a simple format or combination of colors and formats. You can display text in the user's language or display icons. It is possible to combine several alerters, as mentioned above.
255 Moreover, alerters can be applied to many types of charts, not just tables.
Aurelie Bertrand 25.1 256
Aurelie Bertrand 112.1 257 The possibilities are endless, and it's up to you to discover all their facets!
Aurelie Bertrand 25.1 258
259
Aurelie Bertrand 19.1 260 )))