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.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions