<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Recipe: xlsx - Charts data not getting refreshed]]></title><description><![CDATA[<p>I'm using xlsx recipe with engine handlebars, after generating the report data is not reflecting on charts and excel prompting the below waring message</p>
<p><img src="/uploads/files/1701176238958-jsreport-excel-screenshot-2023-11-28-175027-resized.png" alt="0_1701176238924_JsReport Excel Screenshot 2023-11-28 175027.png" class="img-responsive img-markdown" /></p>
<p>Here is the <a href="https://playground.jsreport.net/w/anon/yg6CuNM1" rel="nofollow">playground link</a></p>
<p>Code block:</p>
<pre><code class="language-js">{{xlsxRemove &quot;xl/worksheets/sheet2.xml&quot; &quot;worksheet.sheetData[0].row&quot; 1}}

{{#each scanData}}
{{#xlsxAdd &quot;xl/worksheets/sheet2.xml&quot; &quot;worksheet.sheetData[0].row&quot;}}
&lt;row&gt;
    &lt;c t=&quot;inlineStr&quot; s=&quot;{{@root.$removedItem.c.[0].$.s}}&quot;&gt;&lt;is&gt;&lt;t&gt;{{email}}&lt;/t&gt;&lt;/is&gt;&lt;/c&gt;
    &lt;c t=&quot;inlineStr&quot; s=&quot;{{@root.$removedItem.c.[1].$.s}}&quot;&gt;&lt;is&gt;&lt;t&gt;{{firstName}}&lt;/t&gt;&lt;/is&gt;&lt;/c&gt;
    &lt;c t=&quot;inlineStr&quot; s=&quot;{{@root.$removedItem.c.[2].$.s}}&quot;&gt;&lt;is&gt;&lt;t&gt;{{lastName}}&lt;/t&gt;&lt;/is&gt;&lt;/c&gt;
    &lt;c t=&quot;inlineStr&quot; s=&quot;{{@root.$removedItem.c.[3].$.s}}&quot;&gt;&lt;is&gt;&lt;t&gt;{{organizationName}}&lt;/t&gt;&lt;/is&gt;&lt;/c&gt;
    &lt;c s=&quot;{{@root.$removedItem.c.[4].$.s}}&quot;&gt;&lt;v&gt;{{scans}}&lt;/v&gt;&lt;/c&gt;
&lt;/row&gt;
{{/xlsxAdd}}
{{/each}}

{{{xlsxPrint}}}

</code></pre>
<p>Thanks in advance!</p>
]]></description><link>https://forum.jsreport.net/topic/3000/recipe-xlsx-charts-data-not-getting-refreshed</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 16:04:54 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/3000.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Nov 2023 13:13:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Recipe: xlsx - Charts data not getting refreshed on Invalid Date]]></title><description><![CDATA[<p>I'm using xlsx recipe with engine handlebars, after generating the report data is not reflecting on charts and excel prompting the below waring message</p>
<p><img src="/uploads/files/1701176238958-jsreport-excel-screenshot-2023-11-28-175027-resized.png" alt="0_1701176238924_JsReport Excel Screenshot 2023-11-28 175027.png" class="img-responsive img-markdown" /></p>
<p>Here is the <a href="https://playground.jsreport.net/w/anon/yg6CuNM1" rel="nofollow">playground link</a></p>
<p>Code block:</p>
<pre><code class="language-js">{{xlsxRemove &quot;xl/worksheets/sheet2.xml&quot; &quot;worksheet.sheetData[0].row&quot; 1}}

{{#each scanData}}
{{#xlsxAdd &quot;xl/worksheets/sheet2.xml&quot; &quot;worksheet.sheetData[0].row&quot;}}
&lt;row&gt;
    &lt;c t=&quot;inlineStr&quot; s=&quot;{{@root.$removedItem.c.[0].$.s}}&quot;&gt;&lt;is&gt;&lt;t&gt;{{email}}&lt;/t&gt;&lt;/is&gt;&lt;/c&gt;
    &lt;c t=&quot;inlineStr&quot; s=&quot;{{@root.$removedItem.c.[1].$.s}}&quot;&gt;&lt;is&gt;&lt;t&gt;{{firstName}}&lt;/t&gt;&lt;/is&gt;&lt;/c&gt;
    &lt;c t=&quot;inlineStr&quot; s=&quot;{{@root.$removedItem.c.[2].$.s}}&quot;&gt;&lt;is&gt;&lt;t&gt;{{lastName}}&lt;/t&gt;&lt;/is&gt;&lt;/c&gt;
    &lt;c t=&quot;inlineStr&quot; s=&quot;{{@root.$removedItem.c.[3].$.s}}&quot;&gt;&lt;is&gt;&lt;t&gt;{{organizationName}}&lt;/t&gt;&lt;/is&gt;&lt;/c&gt;
    &lt;c s=&quot;{{@root.$removedItem.c.[4].$.s}}&quot;&gt;&lt;v&gt;{{scans}}&lt;/v&gt;&lt;/c&gt;
&lt;/row&gt;
{{/xlsxAdd}}
{{/each}}

{{{xlsxPrint}}}

</code></pre>
<p>Thanks in advance!</p>
]]></description><link>https://forum.jsreport.net/post/12877</link><guid isPermaLink="true">https://forum.jsreport.net/post/12877</guid><dc:creator><![CDATA[VamsiKWilco]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Recipe: xlsx - Charts data not getting refreshed on Invalid Date]]></title><description><![CDATA[<p>I guess you've followed this tutorial.<br />
<a href="https://jsreport.net/learn/dynamic-excel-pivot-table" rel="nofollow">https://jsreport.net/learn/dynamic-excel-pivot-table</a></p>
<p>But it seems you missed the following.</p>
<blockquote>
<p>=OFFSET(Data!$A$1,0,0,COUNTA(Data!$A:$A),2)</p>
</blockquote>
<p>You have 5 columns in data but you filled 13 as the last param.</p>
<blockquote>
<p><img src="/uploads/files/1701247213442-upload-bfee34f7-d9b1-469b-b4f3-d0c47263594e.png" alt="0_1701247213934_upload-bfee34f7-d9b1-469b-b4f3-d0c47263594e" class="img-responsive img-markdown" /></p>
</blockquote>
<p>You haven't changed the pivot table data source the the reference MyData</p>
<blockquote>
<p><img src="/uploads/files/1701247242568-upload-46e566ed-b01f-47ef-9f93-ffc390da52c8.png" alt="0_1701247243146_upload-46e566ed-b01f-47ef-9f93-ffc390da52c8" class="img-responsive img-markdown" /></p>
</blockquote>
<p>You haven't selected &quot;Refresh data when opening the file&quot;.</p>
<p>I've tried to update your pivot but somehow was still getting the error.<br />
However when deleting the pivot and creating it from scratch seems worked.</p>
<p><a href="https://playground.jsreport.net/w/anon/SfaPSOtL" rel="nofollow">https://playground.jsreport.net/w/anon/SfaPSOtL</a></p>
]]></description><link>https://forum.jsreport.net/post/12879</link><guid isPermaLink="true">https://forum.jsreport.net/post/12879</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Recipe: xlsx - Charts data not getting refreshed on Invalid Date]]></title><description><![CDATA[<p>It's working.</p>
<p>Thanks <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/1">@admin</a> !</p>
]]></description><link>https://forum.jsreport.net/post/12880</link><guid isPermaLink="true">https://forum.jsreport.net/post/12880</guid><dc:creator><![CDATA[VamsiKWilco]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>