<fetch mapping="logical" aggregate="true">
<entity name="yourTable_logicalName">
<attribute name="column_Artikelnummer_logicalName" alias="column_Artikelnummer_logicalName" groupby="true" />
<attribute name="column_Anzahl_logicalName" alias="column_Anzahl_logicalName" aggregate="sum" />
</entity>
</fetch>
union(
xpath(
xml(json(concat('{"Root":{"Item":', outputs('Compose'), '}}'))),
'//Item/Artikelnummer/text()'
),
json('[]')
)
item()
xpath(
xml(json(concat('{"Root":{"Item":', outputs('Compose'), '}}'))),
concat('sum(//Item[Artikelnummer=', item(), ']/Anzahl)')
)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.