<?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>article Qlik Sense Chart-level scripts: REPLACE LOAD ..... RESIDENT HC1 does not return expected result in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Chart-level-scripts-REPLACE-LOAD-RESIDENT-HC1-does/ta-p/2480456</link>
    <description>&lt;P&gt;&lt;EM&gt;The conclusions in this article were reached in collaboration with &lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/106375" target="_blank" rel="noopener"&gt;cjgorrin&lt;/A&gt; from the European Commission's Joint Research Centre Qlik Sense team.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;With Qlik Sense's new feature, Chart-level scripts, the &lt;A href="https://help.qlik.com/es-ES/sense/Subsystems/Hub/Content/Sense_Hub/ChartLevelScripting/Prefixes/Replace.htm" target="_blank" rel="noopener"&gt;Replace prefix&lt;/A&gt; replaces all values ​​in the HC1 table with a calculated value defined by the script.&lt;/P&gt;
&lt;P&gt;Based on the &lt;A href="https://help.qlik.com/es-ES/sense/Subsystems/Hub/Content/Sense_Hub/ChartLevelScripting/Prefixes/Replace.htm" target="_blank" rel="noopener"&gt;Qlik Sense online documentation&lt;/A&gt;, using the attached &lt;STRONG&gt;CHART LEVEL SCRIPT_REPLACE RESIDENT load.qvf&lt;/STRONG&gt;, we would expect the table to display the correct result regardless if an &lt;STRONG&gt;as&amp;nbsp;&lt;/STRONG&gt;(alias statement) is used or not.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example One:&lt;/STRONG&gt; Even if "&lt;STRONG&gt;as&lt;/STRONG&gt;" is not used in the &lt;STRONG&gt;REPLACE&lt;/STRONG&gt; statement, the error &lt;FONT face="courier new,courier"&gt;Load statement with star ('*') not supported in hypercube&lt;/FONT&gt; is displayed.&lt;/P&gt;
&lt;PRE&gt;REPLACE LOAD &lt;BR /&gt;  MyDim1, &lt;BR /&gt;  MyDim2, &lt;BR /&gt;  MyMeasure1, &lt;BR /&gt;  MyMeasure2&lt;BR /&gt;RESIDENT HC1;&lt;/PRE&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="load statement with star not supported in hypercube.png" style="width: 900px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171439i23E0B260CE2DC637/image-size/large?v=v2&amp;amp;px=999" role="button" title="load statement with star not supported in hypercube.png" alt="load statement with star not supported in hypercube.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example Two:&lt;/STRONG&gt; If "&lt;STRONG&gt;as&lt;/STRONG&gt;" is used in the&amp;nbsp;&lt;STRONG&gt;REPLACE&lt;/STRONG&gt; statement, no error is displayed but all rows are loaded with the same values. The values should remain unchanged.&lt;/P&gt;
&lt;PRE&gt;REPLACE LOAD &lt;BR /&gt;  MyDim1 as MyDim1, &lt;BR /&gt;  MyDim2 as MyDim2, &lt;BR /&gt;  MyMeasure1 as MyMeasure1, &lt;BR /&gt;  MyMeasure2 as MyMeasure2 &lt;BR /&gt;RESIDENT HC1;&lt;/PRE&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="replace load AS.png" style="width: 901px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171440i171E94252DF47F1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="replace load AS.png" alt="replace load AS.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This issue is caused by&amp;nbsp;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;QB-27902&lt;/STRONG&gt;&lt;/FONT&gt;, which will be resolved in an upcoming release of Qlik Sense Enterprise on Windows. Monitor the Release Notes for details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Cause&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;REPLACE LOAD&lt;/STRONG&gt; when used in a dynamic chart-level script is using only one row for the source data regardless of the actual number of source rows. It also incorrectly added rows to the chart.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Internal Investigation ID(s)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;QB-27902&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows May 2024&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 09 Sep 2024 13:30:15 GMT</pubDate>
    <dc:creator>Joseph_Musekura</dc:creator>
    <dc:date>2024-09-09T13:30:15Z</dc:date>
    <item>
      <title>Qlik Sense Chart-level scripts: REPLACE LOAD ..... RESIDENT HC1 does not return expected result</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Chart-level-scripts-REPLACE-LOAD-RESIDENT-HC1-does/ta-p/2480456</link>
      <description>&lt;P&gt;&lt;EM&gt;The conclusions in this article were reached in collaboration with &lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/106375" target="_blank" rel="noopener"&gt;cjgorrin&lt;/A&gt; from the European Commission's Joint Research Centre Qlik Sense team.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;With Qlik Sense's new feature, Chart-level scripts, the &lt;A href="https://help.qlik.com/es-ES/sense/Subsystems/Hub/Content/Sense_Hub/ChartLevelScripting/Prefixes/Replace.htm" target="_blank" rel="noopener"&gt;Replace prefix&lt;/A&gt; replaces all values ​​in the HC1 table with a calculated value defined by the script.&lt;/P&gt;
&lt;P&gt;Based on the &lt;A href="https://help.qlik.com/es-ES/sense/Subsystems/Hub/Content/Sense_Hub/ChartLevelScripting/Prefixes/Replace.htm" target="_blank" rel="noopener"&gt;Qlik Sense online documentation&lt;/A&gt;, using the attached &lt;STRONG&gt;CHART LEVEL SCRIPT_REPLACE RESIDENT load.qvf&lt;/STRONG&gt;, we would expect the table to display the correct result regardless if an &lt;STRONG&gt;as&amp;nbsp;&lt;/STRONG&gt;(alias statement) is used or not.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example One:&lt;/STRONG&gt; Even if "&lt;STRONG&gt;as&lt;/STRONG&gt;" is not used in the &lt;STRONG&gt;REPLACE&lt;/STRONG&gt; statement, the error &lt;FONT face="courier new,courier"&gt;Load statement with star ('*') not supported in hypercube&lt;/FONT&gt; is displayed.&lt;/P&gt;
&lt;PRE&gt;REPLACE LOAD &lt;BR /&gt;  MyDim1, &lt;BR /&gt;  MyDim2, &lt;BR /&gt;  MyMeasure1, &lt;BR /&gt;  MyMeasure2&lt;BR /&gt;RESIDENT HC1;&lt;/PRE&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="load statement with star not supported in hypercube.png" style="width: 900px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171439i23E0B260CE2DC637/image-size/large?v=v2&amp;amp;px=999" role="button" title="load statement with star not supported in hypercube.png" alt="load statement with star not supported in hypercube.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example Two:&lt;/STRONG&gt; If "&lt;STRONG&gt;as&lt;/STRONG&gt;" is used in the&amp;nbsp;&lt;STRONG&gt;REPLACE&lt;/STRONG&gt; statement, no error is displayed but all rows are loaded with the same values. The values should remain unchanged.&lt;/P&gt;
&lt;PRE&gt;REPLACE LOAD &lt;BR /&gt;  MyDim1 as MyDim1, &lt;BR /&gt;  MyDim2 as MyDim2, &lt;BR /&gt;  MyMeasure1 as MyMeasure1, &lt;BR /&gt;  MyMeasure2 as MyMeasure2 &lt;BR /&gt;RESIDENT HC1;&lt;/PRE&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="replace load AS.png" style="width: 901px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171440i171E94252DF47F1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="replace load AS.png" alt="replace load AS.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This issue is caused by&amp;nbsp;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;QB-27902&lt;/STRONG&gt;&lt;/FONT&gt;, which will be resolved in an upcoming release of Qlik Sense Enterprise on Windows. Monitor the Release Notes for details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Cause&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;REPLACE LOAD&lt;/STRONG&gt; when used in a dynamic chart-level script is using only one row for the source data regardless of the actual number of source rows. It also incorrectly added rows to the chart.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Internal Investigation ID(s)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;QB-27902&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows May 2024&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 09 Sep 2024 13:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Chart-level-scripts-REPLACE-LOAD-RESIDENT-HC1-does/ta-p/2480456</guid>
      <dc:creator>Joseph_Musekura</dc:creator>
      <dc:date>2024-09-09T13:30:15Z</dc:date>
    </item>
  </channel>
</rss>

