Dashboard Variables

Syncaroo
Syncaroo
  • Updated

In some cases, you may have multiple data cards on your dashboard that utilize the same dataset, and you wish for these data cards to display identical values. You can achieve this by modifying the variables through the dashboard settings, eliminating the need to reconfigure each individual data card using the same dataset.

Furthermore, it's possible to apply this approach to different datasets that share common API-named variables. You can map various variables to share identical values. This article will guide you on how to effectively accomplish this task

 

How Set Dashboard Variables

You can set the dashboard variable from the action menu of the dashboard toolbar. This available for both draft and publish version of the dashboard.

 

Screen Shot 2023-10-16 at 3.29.28 PM.png

 

Clicking this will bring up the configure dashboard variable form and will let you view and change the value of the data cards in the dashboard

 

Screen Shot 2023-10-16 at 3.33.28 PM.png

 

Mapping Variable Names to a Variable Name

Variable names are mapped to with the same API name automatically. There are cases where your data set API names are different. To handle this case, you can map one or more variable names to a variable. You can set them to have the same value using the dashboard variable settings. This is available only in the draft version of the dashboard and can be accessed through the action menu of the dashboard toolbar.

Screen Shot 2023-10-16 at 3.43.26 PM.png

 

Click the add variable mapping to start adding variable map.

Screen Shot 2023-10-16 at 3.44.52 PM.png

 

You need to pick a variable name you would like visible to the user and then pick the variables you would like to map it to.

Screen Shot 2023-10-16 at 3.48.10 PM.png

In this example, it will map "Date EQ" to the "date" variable. Applying this will hide the "date" variable and set the value of it whatever the value is set to "Date EQ'.

 

The configure dashboard variable form will also tell you which data card is using those variables.

Screen Shot 2023-10-16 at 3.51.57 PM.png

Note that the value of the variable will be empty in the form by default if the data card have different values.

Share this

Was this article helpful?

0 out of 0 found this helpful