Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes, you will need to create a separate data table to export columns as Excel or CSV. The reason being, the Logi engine uses the column attributes to instruct the export behavior correctly (eg. width, data type, data formatting, etc). The table you build doesn't need to be displayed in your interactive version of the report, however. You can use "ShowModes" to show the chart during the web output, and use the table for the exported content. Also, you can use "Linked" datalayers to populate both the table and the chart, so that your query or other data source call only needs to be executed 1 time.</p> <p>Here's a simple example, using both concepts- LinkedData Layers and ShowModes</p> <pre><code>&lt;Body&gt; &lt;Division ShowModes="rdExportCsv" ID="divTable"&gt; &lt;DataTable ID="table"&gt; &lt;DataLayer Type="Static" ID="dlStatic1"&gt; &lt;StaticDataRow columnA="Test 1" columnB="100" /&gt; &lt;StaticDataRow columnA="Test 3" columnB="110" /&gt; &lt;StaticDataRow columnA="Test 2" columnB="105" /&gt; &lt;DataLayerLink ID="linkData" /&gt; &lt;/DataLayer&gt; &lt;AutoColumns /&gt; &lt;/DataTable&gt; &lt;/Division&gt; &lt;Division ID="divChart" ShowModes="rdBrowser"&gt; &lt;Chart Type="XY" ChartDataColumn="columnB" XYChartType="Bar" ChartHeight="260" ChartWidth="400" ChartLabelColumn="columnA"&gt; &lt;DataLayer Type="Linked" LinkedDataLayerID="linkData" /&gt; &lt;/Chart&gt; &lt;/Division&gt; &lt;Button ID="ExportCSV" Caption="Export CSV"&gt; &lt;Action Type="CSV"&gt; &lt;Target Type="CSV" ExportDataTableID="table" /&gt; &lt;/Action&gt; &lt;/Button&gt; &lt;/Body&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload