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.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions