question

Stan Davis avatar image
0 Likes"
Stan Davis asked Stan Davis commented

How to Get Other Column Values in a StatisticsCollector

What is the most efficient method to get values from StatisticsCollector's other columns in the same row?? I am developing custom Event Value code for a given column that requires the value of another column in the same row. I've tried getValue but need to use column names. Thanks.


FlexSim 22.2.1
statistic collector
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
1 Like"
Felix Möhlmann answered Stan Davis commented

You can access it through the table constructor, as you would a global table.

Table("StatCollectorName")[data.rowNum]["columnName"]
· 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.

Stan Davis avatar image Stan Davis commented ·
Thanks Felix. Works great. - Stan
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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