question

Liam Chiu avatar image
0 Likes"
Liam Chiu asked Felix Möhlmann answered

How to synchronize the information in a dashboard to a global table?

I used SQL syntax to organize the data for display on a dashboard, and I am wondering if there is a way to synchronize the information on the dashboard to a global table.

1680340428714.png

1680340481145.png


Thank you for your advance.

test_1.fsm

FlexSim 20.1.3
global table
1680340428714.png (22.4 KiB)
1680340481145.png (5.2 KiB)
test-1.fsm (141.8 KiB)
· 1
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
@Liam Chiu, SQL works in background with tables. You should be able to use SQL to output an result table, that you can clone to be shown in a global table.
0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

Might I ask why you even want the data in a global table, when you already have it in a dashboard and calculated table?

As Jörg said in his comment, you can clone the calculated table to the global table:

"Table.query("SELECT * FROM CalculatedTable1").cloneTo(Table("GlobalTable1"));

For example in the On Row Finished trigger of the statistics collector, so the global table is always up to date. Though as I said, I don't really see the point of doing this.

5 |100000

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