Grouping items by ID
Comments
-
Hello All,
Is there a way to add a numeric column (say payments) based on the ID column, kind of like a group by in a flow? I currently have a list of these items and want to calculate them in a flow.
-
Hello Sam,
we can use the "For Each in Group" step to sort the objects, and the follow with a nested foreach step/loop. The "For Each in Group" step will allow to sort the objects based on a field we defined, such as the ID for the objects. This will divide the main list into sublists, which can be used for the nested foreach loop. The nested foreach loop will contain the logic we need to find the total value for each group. Ive added screenshots below that shows an example flow, along with the inputs/outputs we can set for the "For Each In Group" Step
[img]att1[/img]
[img]att2[/img]
Howdy, Stranger!
Categories
- 4.4K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 112 Rules
- 282 Administration
- 216 Portal
- 501 General Q & A
- 719 Forms
- 353 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 71 Repository
- 233 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions