UiPath Documentation
insights
2021.10
false
Insights
  • Release Notes
    • 2021.10.0
      • 2021.10.1
      • 2021.10.2
      • 2021.10.3
      • 2021.10.4
      • 2021.10.5
      • 2021.10.6
      • 2021.10.7
      • 2021.10.8
      • 2021.10.9
      • Actions as a Viewer in Orchestrator
      • Common Actions for Designers
      • Common Formulas
      • Visualizations
    • User Migration Tool Release Notes
  • Getting Started
  • Installation and Upgrade
  • Access and Permissions
  • Interacting with Insights
  • Troubleshooting

Common Formulas

Prerequisites

Accessing Formulas in Insights <2021.10

  1. A user needs designer permissions and will need to navigate to the Insights Portal.

  2. Then navigate to an existing dashboard or create a new dashboard.

  3. Then edit a widget or create a new widget.

  4. Then, the designer will have to click on the plus next to the values

  5. Click the fx button to create a new formula

  6. Here, you will see the functions tab

  7. Commonly used functions are highlighted for comparison in the table below.

Accessing Formulas in Insights 2021.10

  1. A user needs designer permissions and can navigate to an existing dashboard or create one from scratch.

  2. Then, the user must edit the dashboard.

  3. Then select add tile and then choose visualization.

  4. Then select an explore.

  5. Create a new custom formula using the Add New Measure, Add New Dimension, or Table Calculation option.

Comparison

Common Formulas Insights <2021.10 Insights 2021.10

Sum- Adds the numbers in a list

docs image

  • In the functions tab, search for the Sum function and then select the function.

docs image

  • First click the Add button next to the custom fields.

docs image

  • Select Table Calculation. \))\))

docs image

  • Then type Sum and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.

docs image

See more details here

Round- Returns the rounded number

docs image

  • Search for the round function then select it from the tab.

docs image

  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Type Round and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.
See more details here

Now - Returns the current time period

docs image

  • Search for the Now function and then select it from the Functions tab.

docs image

  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Then type Now.

docs image

  • Choose a name for the table calculation and click Save.
See more details here

Median - calculates the median

docs image

  • Search for the Median function in the Functions tab. Then click the function to bring the median function into the formula editor.

docs image

  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Then type Median and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.
See more details here

Max

docs image

  • Search for the Max function and click it to add it to the formula editor.

docs image

  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Then type Max and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.
See more details here

If - Executes a numeric expression based on a condition

docs image

  • In the Functions tab, search for if and then select the function.

docs image

  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Then type IF and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.
See more details here

Floor- Returns the number rounded down to the nearest multiple of “1”

docs image

  • Search for the Floor function and then click it to bring into the formula.
  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Then type Floor and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.
See more details here

Filter field in formula

docs image

(Field, filtered field)

  • to filter a field inside a formula, add the field next to the original field, click it, select Rename, and then choose the filter.

docs image

  • To add a filter, click on the Filter button next to the field name.

docs image

  • Then you will see the filter at the top of the visualization.

docs image

Day Difference- Returns difference between start and end time

docs image

  • Search for day difference in the Functions tab then select the day difference function.

docs image

  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Then type diff_days and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.
See more details here

Count- counts number of unique values

docs image

  • Example: Count(ProcessName)
  • In the Functions tab type Count and select the function. Then navigate to the Data Browser tab, and click processname inside of the function.

docs image

  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Type Count_Distinct and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.

docs image

  • Optionally, select the three dots next to a field and click Count.
See more details here

Count All - returns actual item count of list of items, including duplicates

docs image

  • Example: DUPCount(ProcessName)
  • In the Functions tab, search for Count All, and then select the statistical function.

docs image

  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Then click Type Count and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.

docs image

  • Optionally, select the three dots next to a field and click Count.

docs image

See more details here

Case- Executes the result expression based on the condition. If no condition is met, the else condition is returned

docs image

  • Search for the Case function and then select it from the Functions tab.

docs image

  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Then type Case and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.
See more details here

Average- Calculates the mean

docs image

  • Search for Average in the Functions tab, then select it.

docs image

  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Type mean and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.
See more details here

ALL

docs image

  • Not available

Ceiling- Rounds up to 1’s digit

docs image

  • In the Functions tab, search for Ceiling, and then choose that function to bring into the formula editor.

docs image

  • First, click the Add button next to the custom fields.

docs image

  • Select Table Calculation.

docs image

  • Then type Ceiling and enter the necessary parameters.

docs image

  • Choose a name for the table calculation and click Save.
See more details here
  • Prerequisites
  • Accessing Formulas in Insights <2021.10
  • Accessing Formulas in Insights 2021.10
  • Comparison

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated