<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: excelexporttable() exports empty sheet for StatisticsCollector in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/excelexporttable-exports-empty-sheet-for-statisticscollector/m-p/13573127#M72923</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The excelexporttable() command does not currently support exporting Statistics Collectors or Calculated Tables. I will add a request to the dev list to improve this feature.&lt;/P&gt;&lt;P&gt;The encoding issue is on the dev list already. I will links this report to that issue.&lt;/P&gt;&lt;P&gt;I will also add a report that cloning a stats collector to a global table throws exceptions.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 30 Aug 2023 17:24:23 GMT</pubDate>
    <dc:creator>JordanLJohnson</dc:creator>
    <dc:date>2023-08-30T17:24:23Z</dc:date>
    <item>
      <title>excelexporttable() exports empty sheet for StatisticsCollector</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/excelexporttable-exports-empty-sheet-for-statisticscollector/m-p/13573126#M72922</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.2.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Because build-in Excel interface won't clear the sheet before exporting, I tried to use custom export script like this:&lt;/P&gt;&lt;PRE&gt;string filePath = "D:\\Data.xlsx";
excelopen(filePath);

string sheetName = "Sheet1";
Table table = Table("StatisticsCollector1");
exceldeletesheet(sheetName);
excelcreatesheet(sheetName);
excelsetsheet(sheetName);
excelexporttable(table, 1, 1, table.numRows, table.numCols);

excelsave();
excelclose(0);&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But excelexporttable() on StatisticsCollector exports empty sheet.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;By the way,&lt;/P&gt;&lt;P&gt;Use build-in Excel interface to export StatisticsCollector has encoding issue, which was fixed for GlobalTable in FlexSim 18.0.7, but not fixed for StatisticsCollector.&lt;/P&gt;&lt;P&gt;Table("StatisticsCollector1").cloneTo("GlobalTable1") throw exception.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Perhaps you could provide an option to let user choose the character encoding?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Aug 2023 03:03:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/excelexporttable-exports-empty-sheet-for-statisticscollector/m-p/13573126#M72922</guid>
      <dc:creator>mail7WJMZ</dc:creator>
      <dc:date>2023-08-24T03:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: excelexporttable() exports empty sheet for StatisticsCollector</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/excelexporttable-exports-empty-sheet-for-statisticscollector/m-p/13573127#M72923</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The excelexporttable() command does not currently support exporting Statistics Collectors or Calculated Tables. I will add a request to the dev list to improve this feature.&lt;/P&gt;&lt;P&gt;The encoding issue is on the dev list already. I will links this report to that issue.&lt;/P&gt;&lt;P&gt;I will also add a report that cloning a stats collector to a global table throws exceptions.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Aug 2023 17:24:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/excelexporttable-exports-empty-sheet-for-statisticscollector/m-p/13573127#M72923</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2023-08-30T17:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: excelexporttable() exports empty sheet for StatisticsCollector</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/excelexporttable-exports-empty-sheet-for-statisticscollector/m-p/13573128#M72924</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;For exporting Statistics Collectors to Excel, you can use the Excel interface. The API could still be improved, however.&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Aug 2023 17:32:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/excelexporttable-exports-empty-sheet-for-statisticscollector/m-p/13573128#M72924</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2023-08-30T17:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: excelexporttable() exports empty sheet for StatisticsCollector</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/excelexporttable-exports-empty-sheet-for-statisticscollector/m-p/13573129#M72925</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;The excelexporttable() command directly from a Statistics Collector in version 24.1 still results in an empty table. Is it still not possible? I have reviewed the update notes and found nothing related. I have resolved it by dumping the table from the Statistics Collector into a global table and then applying the command to that global table.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Feb 2025 12:59:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/excelexporttable-exports-empty-sheet-for-statisticscollector/m-p/13573129#M72925</guid>
      <dc:creator>borja_lorenzo</dc:creator>
      <dc:date>2025-02-11T12:59:04Z</dc:date>
    </item>
  </channel>
</rss>

