<?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: Chart calculation in the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-calculation-in-the-script/m-p/1678703#M727686</link>
    <description>&lt;P&gt;Did Taoufiq's post and example QVW get you what you needed?&amp;nbsp; If so, do not forget to return to your thread and on his post, use the Accept as Solution button to give him credit for the assistance and let other Members know that worked for your use case.&amp;nbsp; If you did something different, consider posting that and mark it, and if you are still working on things, leave an update on what you need.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2020 18:20:04 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-02-24T18:20:04Z</dc:date>
    <item>
      <title>Chart calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-calculation-in-the-script/m-p/1670541#M727682</link>
      <description>&lt;P&gt;Hi Geeks,&lt;/P&gt;&lt;P&gt;This might be simple but I am breaking my head. I want the calculation that is done on the chart to be implemented in the script.&lt;/P&gt;&lt;P&gt;Open Inventory = Previous Month Closing Inventory(Expression : Above(Closing Inventory))&lt;/P&gt;&lt;P&gt;Closing Inventory = Open Inventory + In Sales - Out Sales&lt;/P&gt;&lt;P&gt;This is easy in the chart as I can use the column labels and get it done but seems tricky in the script.&lt;/P&gt;&lt;P&gt;Reason behind needed in the script: If nothing is selected, all good. But if I select a month, the calculation starts for the selected month. Open Inventory can't take the previous month Closing Inventory. So, if it is done in the script, everything will be pre-calculated.&lt;/P&gt;&lt;P&gt;I tried to be detail to my best . Let me know if any questions and thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Naresh&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-calculation-in-the-script/m-p/1670541#M727682</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2024-11-16T19:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Chart calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-calculation-in-the-script/m-p/1670697#M727683</link>
      <description>&lt;P&gt;Guys, Anyone there? &lt;span class="lia-unicode-emoji" title=":expressionless_face:"&gt;😑&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Naresh&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 04:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-calculation-in-the-script/m-p/1670697#M727683</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2020-01-30T04:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Chart calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-calculation-in-the-script/m-p/1670852#M727684</link>
      <description>&lt;P&gt;I think you can achieve the desired output with peek() -script function. Just need to use order by clause in order to retrieve the data from prev yearmonth as you desired. Also make sure that you have correct granularity in your script table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Alternatively you may ignore the selection in chart expression with set analysis. This way you always have previous month available even though user has made a selection to a specific month.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 11:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-calculation-in-the-script/m-p/1670852#M727684</guid>
      <dc:creator>pasi_lehtinen</dc:creator>
      <dc:date>2020-01-30T11:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Chart calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-calculation-in-the-script/m-p/1670945#M727685</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":dizzy_face:"&gt;😵&lt;/span&gt;finally&lt;/P&gt;&lt;P&gt;attached a version&lt;/P&gt;&lt;P&gt;left -&amp;gt; load Script&lt;/P&gt;&lt;P&gt;right-&amp;gt;UI (your example)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27723i3DB2847BDF7D7A63/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 14:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-calculation-in-the-script/m-p/1670945#M727685</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-01-30T14:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Chart calculation in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-calculation-in-the-script/m-p/1678703#M727686</link>
      <description>&lt;P&gt;Did Taoufiq's post and example QVW get you what you needed?&amp;nbsp; If so, do not forget to return to your thread and on his post, use the Accept as Solution button to give him credit for the assistance and let other Members know that worked for your use case.&amp;nbsp; If you did something different, consider posting that and mark it, and if you are still working on things, leave an update on what you need.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 18:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-calculation-in-the-script/m-p/1678703#M727686</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-02-24T18:20:04Z</dc:date>
    </item>
  </channel>
</rss>

