Count number of rows in Entity with filter (VB Expressions)

Hi,

How do I count the number of rows in a Data Service entity and apply filters to the count as well?

The equivalent to Count(Filter()) function in Legacy apps.

I have a App variable created on the entity.

Thanks

/stch

Hi @stch

Check the below thread for the information,

Hope it helps!!

I know how it works in Legacy Apps. What I am looking for is how I do it in VB Expressions :slight_smile:

Thanks anyway

At least fetching the filtered Entities to a second variable and using afterwards the Count() should work

@mkankatala ,

Please create a App variable of type List source and into list source variable please update the records based on your filter and once that is done you can call the app variable for count as below.

Appvariable.TotalRecords

I went with this solution. Thanks :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.