Creating and applying an Alerter

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

🙋 This tutorial is intended for advanced users.

⏱ It is designed to be followed independently in 1 hour.



Introduction

In this tutorial, we are goint to discover how to create and apply an Alerter (or alerter format), using two examples.

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.

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.

This tutorial takes place in the Studio.
The steps of this tutorial are as follows:

  • Creation of the data model based on the file retailen.xlsx
  • Creation of tables showing turnover and margin data
  • Creation of new alerter formats
  • Application of alerter formats and vizualisation of results

Prerequisites

In order to complete this tutorial, you need to :

  • have installed DigDash Enterprise version 2025R1 or higher;
  • be a user with the"Data model designer" authorization group;
  • download the Excel file retailen.xls.

ℹ The screenshots in this tutorial were produced using the Chrome browser. There may be slight differences depending on the browser.

Step 1: Create and configure the data model

Import the data source retailen.xls

Here we're going to import the data from the Excel file retailen.xls downloaded earlier. To do this:

  1. Launch the Studio.
  2. Click the Models tab.
  3. Click the New model button.
  4. In the Create a new data model box, select All types in the Files section; Then add and select the file retailfr.en.
  5. Click OK.

The Excel File window appears. It offers data selection options and a preview of the data. Here we will configure the data model.

Configure the data model

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.

Filter product families

Here we are going to concentrate on the product families:

  • Housing
  • Deli
  • Dessert
  • Tickets

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 :

  1. Click the Add... button.
  2. In the Edit filter rule box, select Product Family, then match regular expression and fill in Housing|Deli|Dessert|Tickets.
    Rule_family_product_FR.png
  3. Click OK.
    ➡ The other members of the Family dimension are greyed out.
  4. Click the Next button at the bottom right to open the Advanced configuration window.

Create the measures Sales (Year - 1) and Sales (% Progression)

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:

  1. In the Columns tab, click the New measure button.
  2. Click Calculated measure:
    • For the measure Sales (Year - 1), drag and drop the Year - 1 function from the Transformer tab onto the Sales measure.
      Sales-1
    • For the measure Sales (% Progression):
      • Drag and drop the % Progression function from the General tab onto the Sales measure.
      • Define the progression between the First measure: Sales (Year-1) and the Second measure: Sales.
      • Select the Format : Percentage and click OK.
        Sales progression
        ➡ The calculated measures are added to the list of columns.
  3. In the Properties tab, enter retailen as name for the data model and then click Finish at the bottom right to save it.

Now that the data model retail is configured, we can create the charts based on this model.

Step 2: Create the charts

We are now going to create the charts in which we will use the alerters. They will be based on the data model retailen.

To create a chart (flow), in the Flows tab, click the New Flow button and then select the desired flow.

Table "Sales by Product family"

  1. Create a new Flow and select Cross table as type.
  2. Select the data model and enter the name Sales by Product family.
  3. Drag and drop the dimension the Family onto the Column 1 axis.
  4. Place the measures Sales, Sales (Year-1) and Sales (% Growth) on the Line 1 axis.
    Sales by family
  5. Click the sort button for the Column 1 axis and apply a descending sort to the measure Sales.
    Sorting_sales_EN.png
  6. Click OK to save.

Table "Sales and margin for housing products"

  1. Create a new Flow and select Table as type.
  2. Select the data model retailen and enter the name Sales and margin for housing products.
  3. Place the Product dimension on the Column 1 axis.
  4. Place the Sales and Margin measures on the Column 2 and 3 axes.
  5. Filter the Product Family on the member Housing.
    Sales_margin_housing_FR.png
  6. Click OK to save and confirm saving the filter.
    Saving filter

Step 3: Create alerter formats

We are now going to create the alerters or alerter formats that we will use in the tables we created earlier.

To create a new alerter :

  1. Go to the Managers tab and select Formats to open the Format editor.Format_manager_EN.png

    ➡ The Format editor opens and lists the available types and formats.

  2. Select the format type Alerter and click the + button.
    Format_editor_+_EN.png

Create the alerter "_tutorial_progression"

We are going to create a first alerter to highlight the percentage increase of sales in the table "Sales by Product family":

  • A red downward arrow for negative progession
  • A grey equal sign for zero progression
  • A green up arrow for positive progression
  1. Create a new alerter with the name _tutoriel_progression and the role (None) (no role restriction).
    Format name
    ➡ The new alerter is added to the list on the left.
  2. In the Language field on the right, leave Default: the alert will apply by default to all languages.

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

  1. Click the + button in the Edit format... section on the right to configure the different outputs:
    • Zero progression :
      1. For the Input Type, select Value and enter 0.
      2. For the Output Type, select Colour + icon with Percent Format.
      3. Then select the grey equal sign as Image.
        Zero output
      4. Click OK.
    • Negative progression :
      1. For the Input Type, select Range.
      2. Then select -infinite for the Minimum and enter 0 for the Maximum.
      3. For the Output Type, select Colour + icon with Percent Format.
      4. Then select the red down arrow sign as Image.
        Neg_alerter_EN.png
      5. Click OK.
    • Positive progression :
      1. For the Input Type, select Range.
      2. Then enter 0 for the Minimum and select +infinite for the Maximum.
      3. For the Output Type, select Colour + icon with Percent Format.
      4. Then select the green up arrow sign as Image.
        Positive alerter
      5. Click OK.
        ➡ The alerter items are listed.
        Alerter

💡You can create several layouts for your alerter.
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.

Create the alerter "_tutorial_margin"

We're going to create a second alerter to highlight the margin value for the table "Sales and margin for housing products".
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:

  1. Create a new alerter format with the name _tutorial_margin and the role (None) (no role restriction).
    ➡ The new alert is added to the list on the left.
  2. In the Language field on the right-hand side, leave Default: the alert will apply by default to all languages.
  3. Click the + button in the Format Editing section on the right to create the different layouts:
    • Margin greater than 480 :
      1. For the Input Type, select Value.
      2. Then enter 480 for the Minimum and select +infinite for the Maximum.
      3. For the Output Type, select Color with Number as Format.
      4. Then select the Fill color (green: #71c31f).
        Margin greater
      5. Click OK.
    • Margin less than 480 :
      1. For the Input Type, select.
      2. Then select -infinite for the Minimum and enter 450 for the Maximum.
      3. For the Output Type, select Color with Number as Format.
      4. Then select the Fill color (red: #d95858).
        Margin less
      5. Click OK.
        ➡ The alerter items are listed.
        _tutorial_margin

💡Using an alerter to change the background color is a classic format application.
You can also use alerter to change the output format according to the input data (for example, Percentage instead of Number).

The creation of the alerters is now finished: click OK at the bottom right to save and close the Format editor.
We're now going to assign the alerters to the data.

Step 4: Apply the alerter to the data

It is possible to apply an alerter format to a flow or a data model.
It is generally recommended to apply an alerter format to the flow used to display the desired information.
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 Flow is synchronized again, the data displayed will be modified.

Here we are going to apply the alerter formats to the Flows.

Progression alerter

  1. Open the table "Sales by Product family" from the Flows tab in the Studio.
  2. Right-click the measure Sales (% Progression).
  3. In the context menu that appears, click on Apply a format > Alerter > _tutorial_progression (Alerter).
    Apply alerter

    ➡ The display of the measure Sales (% Progression) is modified.
    Display modified
  4. Select a year in the Date filter, for example 2017, to view the case of positive or negative progression.
    Sales_progression_eg_EN.png

Margin alerter

  1. Open the table "Sales and margin for housing products" from the Flows tab.
  2. Right-click the measure Margin.
  3. In the context menu that appears, click Apply a format > Alerter > _tutorial_margin_tutorial (Alerter).Apply alerter

    ➡ The display of the Margin measurement is modified accordingly.
    Margin alerter

    Congratulations!

    You have successfully created and applied your first alerter formats.

    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.
    Moreover, alerters can be applied to many types of charts, not just tables. 

    The possibilities are endless, and it's up to you to discover all their facets!