- Getting Started
- Demo apps
- How To
- Build Your First App
- Build a Mobile-Friendly App
- General User Experience Guidelines
- Use Master Detail View
- Use Document Viewer
- Use Count With Choice Set Values
- Use Selected Values From a Table
- Embed Apps
- Embed Maps
- Hide Containers Using a Button
- Include MailTo Links
- Include Star Ratings
- Set External Context
- Work With Data Source and Value Bind
- Use the Send Interim Result Activity
- Public Apps
- Notifications
- Using VB Expressions
- Designing your App
- Events and Rules
- Rule: If-Then-Else
- Rule: Open a Page
- Rule: Open URL
- Rule: Close Pop-Over/Bottom Sheet
- Rule: Show Message
- Rule: Show/Hide Spinner
- Rule: Set Values
- Rule: Start Process
- Rule: Upload File to Storage Bucket
- Rule: Get File From Storage Bucket
- Rule: Reset Values
- Rule: Create/Update Entity Record
- Rule: Delete Entity Record
- Rule: Add to Queue
- Function: And, Or, Not
- Function: Concat
- Function: Contains
- Function: Count
- Function: EndsWith
- Function: If
- Function: IsBlank
- Function: Guid
- Function: Length
- Function: List
- Function: StartsWith
- Function: Sum
- Function: Sort
- Function: Now
- Function: Today
- Function: Time
- Function: Year
- Function: Month
- Function: Day
- Function: Hour
- Function: Minute
- Function: New
- Function: Lookup
- Function: Filter
- Leveraging RPA in your App
- Leveraging Entities in Your App
- Leveraging Queues in Your App
- Leveraging Media in your app
- Leveraging Actions in your app
- Leveraging Connections in your apps
- Application Lifecycle Management (ALM)
- UiPath First-Party Apps
- Basic Troubleshooting Guide

Apps User Guide
Use Count With Choice Set Values
linkIntroduction
linkYou can build an app to count the values from a table field that is of type Choice Set.
In this example we will use the Count function to do the following:
- Get the total count of Choice Set values.
- Get the count of Choice Set fields from a selected row inside a table.
Prerequisites
linkTo do this, you first need to prepare an entity with two Choice Set fields, as follows:
- Choices - not allowing multiple selections
- Multiple choices - allowing multiple selections
Procedure
link- Open your already existing application or start a new one.
-
Add the entity containing the two Choice Set fields. The entity fields and data should look similar to the example below.
- Add a table and bind the entity to the Data Source property of the table.
-
Add two labels next to each other inside a container.
4.1 Add the following in the Text property of the first label:The total number of values in the Choice Set:
.4.2 Add the Choices field of the entity using a Count function on the second label as shown in the example below.
-
Add two labels next to each other inside a second container.
5.1 Add the following in the Text property of the first label:The number of values on the selected row:
.5.2 Add the Table.entity.SelectedValues field using a Count function on the second label as shown in the example below.
Result
linkWhen previewing the app, the total number of values in the Choice Set is displayed as 3.
The number of values on the selected row changes depending on the selected row.