Ad hoc analysis

Last modified by Aurelie Bertrand on 2026/06/26 15:02


DigDash Enterprise provides an editing tool that allows users to modify their charts in real time: adding columns, totals, changing the sort order, etc.

This feature, also known as Self-service BI, gives users greater freedom. Changes to charts can be made easily without the need to reconfigure data flows within the information portfolio.

Ad-hoc analysis is available on all charts except: Flow Charts, Tree Views, Text, Keyword Clouds, HTML Reports and Gantt Charts.

Configuring ad hoc analysis

Users can edit their charts directly from the dashboard editor.

Enable ad hoc analysis

The ad hoc analysis feature in the dashboard editor (whether viewing the dashboard or opening the feed in a browser) is enabled when editing the feed (chart) in Studio:

  • Click the Ad-hoc Analysis button in the flow configuration toolbar.

Activer ad hoc

Advanced options for ad hoc analysis

You can customise the ad-hoc analysis interface to restrict or specialise certain functions for users of the chart. Please refer to the documentation Advanced options for the ad hoc analysis interface.

Editing a chart

When you view a chart in a browser or dashboard, the chart is displayed on the right and the editing toolbar on the left.
The editing toolbar can be collapsed: click the 1742918186762-286.png button to hide it.
The help icon 1742918088511-895.png allows you to access this documentation directly.

Tableau

This editing toolbar includes the list of dimensions and measures available in the data model, as well as a number of tools such as the option to save your chart view.

If a description has been entered in the data model for a dimension or measure, it is displayed in the tooltip when you hover over the dimension or measure.

Dimension names followed by … indicate that the dimension includes a hierarchy or navigation path. Click on the dimension to display the list of available hierarchies.
Hiérarchie

If you are editing a chart other than a table, the list of axes is displayed on the chart so that you can modify their content:

Autre graphique

Adding dimensions or measures

Objects can be added to or removed from the chart by dragging and dropping them or by using the context menu (right-click) on the chart.

In a table

If you wish to add a dimension or measure to a table or cross-tab, drag and drop that object onto the header of the table column before which you wish to insert it.

Ad-hoc_add_column_FR.png

You can also add an object by right-clicking:

  • Right-click on the column header before or after which you wish to insert the object and select ‘Insert a dimension (before or after) or ‘Insert a measure (before or after)’.

In a table, you can reorder dimensions and measures freely by dragging and dropping the columns to the desired position. Measures can be placed at the top if you wish.
Déplacer colonnes

Replacing a dimension or measure

If you wish to replace a dimension or a measure:

  1. Right-click on the header of the relevant column, then select the Replace Axis ( orReplace Measure) menu command
  2. Then select the new dimension (or measure) to use.

Remplacer l'axe

Deleting a dimension or measure

If you want to delete a dimension or measure, right-click on the header of the relevant column and then select the ‘Delete Axis’ ( or‘Delete Measure’) menu command.

In a chart

If you wish to add a dimension or measure to a chart (columns, bars, etc.), drag and drop the item directly onto the desired axis:

Ajout mesure

To add a hierarchy level for a dimension, first click on the dimension to display the list of hierarchies, then select the level to add.

You can also add an object by right-clicking:

  1. Right-click on the axis and choose ‘Add a dimension to the axis’ or ‘Add a measure to the axis’.
    Ad-hoc_add_measure_rightclick_FR.png
  2. Then select the dimension/measure.
    Sélection dimension

Replacing a dimension or measure

To replace the existing dimension or measure:

  1. Right-click on that object and select ‘Replace Dimension’ or ‘Replace Measure’.
    Remplacer dimension
  2. Then select the measure or dimension you wish to use.
    If the dimension has hierarchies, the root level is automatically selected. To select a different hierarchical level, use drag-and-drop from the list of dimensions on the left.

Deleting a dimension or measure

If you wish to delete a dimension or measure, drag and drop the object you wish to delete from the chart onto the toolbar.

You can also delete objects from the context menu that appears when you right-click on the object or axis: click on‘Delete dimension’ or ‘Delete measure’.

Add a formula

To add a formula:

  1. Drag and drop the‘Formula…’ item at the end of the list of measures onto the measures axis.
    Ajout formule
    ➡ A dialogue box will appear prompting you to enter the name and content of the formula
  2. Enter the name of the formula and its content.
    Formula_editor_FR.png
    You can insert a measure by clicking the ‘Insert measure into formula’ button, or a dimension (e.g. count of distinct members) by clicking the‘Insert dimension into formula’ button.
    The aggregation function shown in brackets is, by default, that of the data model. You can change this by clicking on the measure/dimension and then selecting the desired aggregation. See the section Available aggregation functions for dimensions and measures below for further details.
    Formula_editor_aggregation_choice_FR.png

💡 You can also type the beginning of the name of the measure or dimension you wish to add directly into the formula editor. You will then be shown a list of matching measures and dimensions with the various possible aggregations.
Formula_editor_direct_choice_FR.png

  1. Select an output number format from the Format drop-down list.
  2. Click OK.
    ➡ The formula is used in the chart.
    The formula is also visible in the list of available measures. You can edit it by clicking on 1708942787953-379.png or delete it by clicking on 1708942807170-598.png .
    Formule ajoutée

Aggregation functions available for dimensions and measures

You can change the aggregation function shown in brackets for dimensions and measures included in a formula.

For dimensions, thedcount aggregation functionis used by default. It calculates the distinct count of members in the dimension.
You can replace dcount with dmember, which returns the value of the dimension.

For measures, the‘sum’ aggregation function is used by default. It calculates the sum of the measure’s values. You can replace it with one of the available aggregation functions:

  • Average (avg)
  • Min(min): minimum value
  • Max ( max): maximum value
  • Cumulative along the axis ( arsum)
  • Or ( or): logical ‘or’ (‘|’ in programming or ‘+’ in Boolean arithmetic) between the (integer) values of the measure. Example: 2+2=4 (arithmetic sum) but 2|2 =2, 2|1=3, 1|0=1… (logical OR).
  • Median (med)

Changing a measure’s aggregation

You can change a measure’s aggregation function: click the Options… button , then Aggregation below the list of measures, then drag and drop the desired aggregation type onto the relevant measure.
Agrégations

It is also possible to change the aggregation directly from the measure on the axis: see the section Changing a measure’s aggregation for further details.

Adding a transformer

Transformers are applied to measures and allow you to display values for the previous year, the previous month, the previous week or the previous day.

To add a column transformer:

  1. Click Options... then Transformersand drag and drop the selected transformer onto the desired measure.
    Ajout transformateur
  2. Edit the name of the measure using the transformer as required, then click OK.
    Adhoc_transfo_dialog_FR.png
    ➡ This is displayed after the transformed measure and added to the list of measures.

Example: drag and drop the Year -1 transformer onto the Communication Cost measure. A ‘Communication Cost (Year -1) ’ column is added after the ‘Communication Cost’ metric, and a‘Communication Cost (Year -1) ’ metricis added to the list of metrics.

Adhoc_transfo_added_FR.png

Add a smoothing function or a predictive function

To add a smoothing function or a predictive function:

  1. Click on Options... then Smoothing Functions and drag and drop the selected function onto the desired measure.
  2. Enter the required parameters.
  3. Rename the measure as required, then click OK.
    ➡ This is displayed after the selected measure and added to the list of measures.

❗If the values are empty, the column may not be displayed.

Example: drag and drop the Moving Average smoothing function onto the Communication Cost metric. A Communication Cost (Moving Average)column is added after the Communication Cost metric and to the list of metrics:

Adhoc_smooth_average_FR.png

For more information on smoothing functions and predictive functions, see the Predictive Tutorial.

Manage and add filters

View and manage stream filters (chart)

To view all stream filters (dashboard filters and private stream filters), click the button Bouton_filtres to the right of Dimensions.

Filtres

➡ TheFilters pane appears, showing the list of filters applied to the feed.
Adhoc_filters_FR.png

Private stream filters (defined in the ad hoc analysis or the Dashboard Editor) can be:

  • edited: select the filter, click the button Bouton_editer and modify the filter as required.
  • deleted: select the filter(s) and click the Bouton_supprimerbutton.

Filters created in Studio (with a dimension defined as non-navigable) are greyed out and cannot be edited or deleted here.

Filters using an exclusion take the following form:

Filtre exclusion

Add a filter

You can add a filter from the Filters box above :

  1. Click the ‘Add a filter’ button.
  2. Select the dimension to filter by, for example Date.
  3. In the ‘Filter by Dimension’ box, set the filter as required and click OK.
    Ajout filtre date

You can also add a filter from the dimension:

  1. Right-click on the dimension you wish to filter by, then click Add filter.
    Ajout filtre
  2. In the ‘Filter by Dimension’ box, set the filter as required and click OK.

Edit axis properties

Add a total

To add a total:

  1. Right-click on the axis (or column header, if it is a table) to which you wish to add a total, then select ‘Add a total’.
    Adhoc_add_total_header_FR.png
  2. In the ‘Add a Total’ box that appears, select the position of the total andthe aggregation to use.
    ➡ The total is displayed at the chosen position.

You can also add a total via the dimension options: click the Options… button below the list of dimensions, then drag and drop Total (end) or Total (start) onto the desired axis.

Ad-hoc_total_end_FR.png

To modify the total (position and aggregation), right-click on the axis and select Change Total.

To remove a total, right-click on the axis and select Remove Total.

Suppression total

Add a measure filter

To add a measure filter of the type ‘Best’, ‘Worst’ or ‘Interval’:

  1. Right-click on the axis and select Add a measure filter.
    Ajouter filtre mesure
  2. In the Add Measure Filter box that appears, select the measure of your choice.
  3. Then select:
    • the ‘Best’ or ‘Worst’type, then enter the number of values.
      Ajouter filtre mesure
    • or the ‘Interval’ type, then enter theMin and Max values.
  4. Click OK: the chart will update.

Graphique filtre de mesure

To remove the Best / Worst / Interval filter, right-click on the axis and select Remove Measure Filter.

Add a sort

To add a sort:

  1. Right-click on the axis of your choice, then select ‘Add a sort’.
    Ad-hoc_add_sorting_FR.png
  2. In the ‘Add a sort’ box that appears, select the sort type
    .1734449873385-751.png

You can also add a sort from the dimension options: click the Options… button below the list of dimensions, then drag and drop Sort (asc.) or Sort (dsc.) onto the desired axis.

To edit a sort, right-click on the axis and select Change sort.

To remove a sort, right-click on the axis and select Remove sort.

Changing a measure’s aggregation

To change a measure’s aggregation, right-click on the measure’s name, then select Change aggregation and choose the function: Sum, Average, Min, Max,Cumulative or Median.

Changer l'agrégation

Aggregations can also be changed via the measure options: see the section Changing a measure’s aggregation for further details.

Changing a measure’s format

To change a measure’s format:

  1. Right-click on the measure or continuous dimension (e.g. time dimension), then select Change Format.
  2. In theChange Format box, select the desired format and click OK.

Changer format

Set / Change a target

When a metric has one or more targets defined (see the page Creating a target for a measure for more details), you can set or change a target. To do this:

  1. Right-click on the relevant metric.
  2. In the context menu, select ‘Change objective’, then choose the objective of your choice or ‘None’ if you do not wish to use an objective.
    Ad-hoc_add_target_FR.png

    ➡ The objective applies to the chart or table.
    Objectif appliqué

Add an interaction

To add an interaction:

  1. Right-click on the axis of your choice and select ‘Add an interaction’.
    ➡ The interface displays a list of possible interactions for each chart.
  2. Select the desired interaction.
    Ajouter interaction

See the page Configuring interactions for more details on the different types of interactions.

Change the colour scheme

The colour scheme can be changed. To do this, right-click on the axis and select Enable colour scheme or Disable colour scheme.

Example: on a column chart, colour distribution is enabled by default on the stacked axis (a different colour is assigned to each element on this axis):

If you want the colour scheme to apply to the column axis, right-click on the Stacked axis and select ‘Disable colour scheme’. Then right-click on the column axis and choose ‘Enable colour scheme’.

Distribution couleurs

The resulting chart is displayed:

Adhoc_color_distribution_column_FR.png

Editing a chart’s properties

Changing the colour palette used

To change the colour palette:

  1. Click on Style… then Colours…
    Couleurs
  2. Then select the desired palette from the drop-down list and click OK.
    Additional colour palettes can be created in Studio: see the page Colour Palette Manager for further details.
    Palette de couleurs

You can also choose a specific existing theme for your chart by clicking on Style... then Themes.... Additional themes can be defined via Studio. See the Style Manager page for further details.

Editing table styles

To edit the table’s styles:

  1. Click onStyle...then on Context Menu: Stylesto open the styles context menu (click this button again to close the menu).
    Styles tableau
  2. Right-click on the row, column or cell whose style you wish to edit to display the styles context menu.

    Ad-hoc_table_styles2_FR.png

  3. Modify the styles as required: see the page Changing a table’s style for more details on the available options.

Saving a view

You can save different views of the same chart.

Save the view

To save the current view of your chart:

  1. Click on Views... then click theSave View button.
    Vues
  2. Enter the Name of the view.
  3. You can assign a Category to the view by selecting an existing category or creating a new one.
    Multiple levels of categories can be created. The categories will be displayed as a folder tree.
    1743150050111-802.png
  4. Tick the ‘Do not save current filters in the view’ box to save the view without the currently defined filters.
  5. Tick the ‘Public view’ box if you wish to share the view with other users (who have access to the role).
    Sauver vue
  6. Click OK.
    ➡ The view is saved in the feed and added below‘Views’ in the specified category.
    Ad-hoc_view1_saved_FR.png

Viewing a saved view

To view a saved view, simply click on its name.

Filtering private/public views

Private and public views can be identified by their icon:

Icones vue

Ad-hoc_view_list_FR.png

You can filter the views displayed using the Public and Private buttons to the right of ‘Views’. The filter is applied via the button shown in blue.
Below, the filter is set to show only private views.
Filtre vues privées

Reset the view

To return to the initial view:

  1. Click Reset view.
    ➡ A message appears: Do you want to reset the view? 
    Réinitialiser vue
  2. Click OK.

Delete a saved view

To delete a view, click the delete icon 1708959223994-898.png next to the view’s name.
If it is the only view in the category, the category is also deleted.

Correcting an incorrect view

When a dimension, measure or hierarchy is deleted, or when its identifier is changed in the data model, saved views (both public and private) may be affected.

In this case, a message appears to inform you that the data model has changed, and lists the missing objects.

Ad-hoc_view_change_meassage.png

You can then remove the missing objects from the view by clicking the ‘Clean up view’ button.
Tick the ‘Also save the view after cleaning it up box to automatically save the view after cleaning it up.

Click the Cancel button if you wish to ignore the message. In this case, you will not be able to display the view and will remain on the current view.

The types of missing objects may include the following:

  • Dimension
  • Filter: ‘Elements’ typefilter
  • FilterRule: Rule-typefilter
  • Dim Set Dimension: ‘Set’ typefilter
  • Measure: measure
  • ValueFilter: filter using a measure (Best, Worst, etc.)
  • Format

Find out more...