question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Felix Möhlmann edited

Based on order history how to create aggregated orders in global table

Order history

1694144935562.png

From above order history global table how to create below aggregated orders.
Below is the aggregated orders image

1694144963194.png



FlexSim 23.2.0
gloabal table
1694144935562.png (42.1 KiB)
1694144963194.png (56.2 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann edited
Table.query("SELECT Time, [Order ID], ARRAY_AGG(ROW_NUMBER) AS Rows FROM OrderHistory GROUP BY [Order ID]").cloneTo(Table("AggregatedOrders"));
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.