question

Luis Fernando avatar image
0 Likes"
Luis Fernando asked Luis Fernando commented

How to combine data of two or more Global Tables in one Global Table

Hi FlexSim team,


How can I combine two or more tables in just one table?

I have done a small example of that question.


1702578625693.png


I want to place the output data of the table "Processor1" and "Processor2" in the table called "All lines".

1. How to combine two or more tables.fsm


Thanks,

FlexSim 23.2.2
tablescombine tables
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Luis Fernando commented

Use a query with the UNION ALL clause.


  1. Table.query("SELECT * FROM Processor1 UNION ALL SELECT * FROM Processor2").cloneTo("All Lines")
· 4
5 |100000

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