question

jenny avatar image
0 Likes"
jenny asked Matthew Gillespie commented

Problem of exporting to Excel

Hello,

I have question about exporting to Excel. If I export the data from "Statistics Collector" to Excel, there're some garbled characters. But, if the data from "Global Table", the data can be displayed correctly. Is't because the data from "Statistics Collector" cannot be exported in Traditional Chinese?

statistics-collector.jpgglobal-table.jpg


I have another question about tracker. I link the tracker to the parameters, and set Dashboard Control Value. I drag the tracker to control value when the simulation is stopped, and after the simulation starts, the tracker return to initial positions.

1692629299898.gif

How should I do above two questions?

Thanks in advance!

DataTest.fsm

FlexSim 23.1.3
excel exporttracker
global-table.jpg (72.5 KiB)
1692629299898.gif (60.9 KiB)
datatest.fsm (33.5 KiB)
datatest.fsm (33.5 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.

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Matthew Gillespie commented

Thank you for reporting this issue. I have added this bug to the dev list. Unfortunately, there's not a straightforward workaround. If it is critical to get the data to Excel, you could change the Statistics Collector (or create a second one) that collects times in Excel format. You can use the convert() command for this.

https://docs.flexsim.com/en/21.1/Reference/CodingInFlexSim/CommandReference/Commands.html#convert

· 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

@Jenny This issue has been fixed in 23.0.11 and 23.2.1 released today.

0 Likes 0 ·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered jenny commented

As a workaround for the export for now you can change the stats collector to store either the numeric excel value (fractional days since 1900) or the string value. You can convert the date time using the Datetime methods.

· 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.

jenny avatar image jenny commented ·

Hi Jason,

Thanks for your quick reply, appreciate!

If the string value is Traditional Chinese, exporting the data from "Statistics Collector" to Excel, the data can't be displayed correctly.There're also some garbled characters.


Datatest_2.fsm

pic.png




0 Likes 0 ·
pic.png (100.3 KiB)
datatest-2.fsm (32.7 KiB)

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.