Register a Function
register a transformer that totals orders by region into the reporting collection
Needs a transformer. Getting its guide.
Called tabsdata 2 times (ctrl+o to expand)
Generating — group_by on region with a summed amount.
Called tabsdata 3 times (ctrl+o to expand)
Registered as summarize in reporting, description "Rolls orders up by region":
┌────────────┬───────────┐ │ field │ value │ ├────────────┼───────────┤ │ name │ summarize │ ├────────────┼───────────┤ │ collection │ reporting │ ├────────────┼───────────┤ │ state │ active │ ├────────────┼───────────┤ │ version │ 1 │ └────────────┴───────────┘
Registering the same file again creates a new version rather than erroring, as long as I pass update. Without it, a second registration under the same name is rejected.