Process Mining
Banner background image
Process Mining
Last updated 2 de abr. de 2024

Adding a compare period filter to a dashboard


Comparing data of periods in bar charts helps the end user analyzing data. In this way you can easily see if the data increased or decreased in the current period compared to the last period.

Follow these steps to add a period filter and the comparing period filter with a metric. The metric can be exchanged by any expression that calculates a number.




Open your app in your development environment and click on the dashboard for which you want to add the period filter.


Go to the Chart tab and create a new period filter.


Drag the new period filter to the Right level of the Controls pane.


In the General pane, change Size to X2 Expression.


Click on expression and enter:

metric([metric], filter(records, activeperiodfilter))

where [metric] is the metric you are using for the filter.


Go to the Advanced tab.


Select Compare period from the list in the Extra periods field in the Data pane.


Right click in the Chart panel and select New overlay - Line to create new line overlay.


Enter the following values in the Line pane:

• Begin value: 0

• End value: metric([metric], filter(records, not activeperiodfilter))

• Bar margin: 5

• Levels up to connect: 0.

The dashboard now contains a filter that can be used to compare between periods on a dashboard. See illustration below for a dashboard containing the Case end filter.

  • Introduction

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.