<?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 Need help in logic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-logic/m-p/1403357#M815896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Can you please suggest on below requirement!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;I have a item ledger entry table containing&amp;nbsp; &lt;STRONG style="font-family: inherit;"&gt;[posting date](Date field),&lt;/STRONG&gt;&amp;nbsp; &lt;STRONG style="font-family: inherit;"&gt;[Quantity field]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Need to build a report&amp;nbsp; which displays data month wise for last 1 year from date selected by user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Example if user selects date as &lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: inherit;"&gt;15-06-2017&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; then data should be displayed from &lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: inherit;"&gt;15-06-2016 to 15-06-2017 in below format.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: inherit;"&gt;june2016 , july 20166..........................june 2017&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;Logic to&amp;nbsp; calculate opening stock&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;Opening stock for current month is summation of Quantity up till previous month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;Example - For&amp;nbsp; june 2016 opening stock will be summation of quantity for all months and years which is present in database less than&amp;nbsp; equal to 31 may 2016.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: lower-roman;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;i.e All dates less than equal to 31may 2016. and similar &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;approach&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt; will be followed for all months&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;Kindly suggest on the same urgently.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 12pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;Thanks in advance!!!...:)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>tripatirao</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Need help in logic</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-logic/m-p/1403357#M815896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Can you please suggest on below requirement!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;I have a item ledger entry table containing&amp;nbsp; &lt;STRONG style="font-family: inherit;"&gt;[posting date](Date field),&lt;/STRONG&gt;&amp;nbsp; &lt;STRONG style="font-family: inherit;"&gt;[Quantity field]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Need to build a report&amp;nbsp; which displays data month wise for last 1 year from date selected by user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Example if user selects date as &lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: inherit;"&gt;15-06-2017&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; then data should be displayed from &lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: inherit;"&gt;15-06-2016 to 15-06-2017 in below format.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: inherit;"&gt;june2016 , july 20166..........................june 2017&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;Logic to&amp;nbsp; calculate opening stock&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;Opening stock for current month is summation of Quantity up till previous month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;Example - For&amp;nbsp; june 2016 opening stock will be summation of quantity for all months and years which is present in database less than&amp;nbsp; equal to 31 may 2016.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: lower-roman;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;i.e All dates less than equal to 31may 2016. and similar &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;approach&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt; will be followed for all months&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;Kindly suggest on the same urgently.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 12pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;Thanks in advance!!!...:)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-logic/m-p/1403357#M815896</guid>
      <dc:creator>tripatirao</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in logic</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-logic/m-p/1403358#M815897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/158346"&gt;12 month rolling data&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 05:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-logic/m-p/1403358#M815897</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2017-09-13T05:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in logic</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-logic/m-p/1403359#M815898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you provide example insist this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month(DateField) as Month&lt;/P&gt;&lt;P&gt;MonthName(DateField) as MonthName // This should be in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And UI, Create Chart (Any thing Bar,Line, ... Straight, Pivot)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take MonthName as Dimension&lt;/P&gt;&lt;P&gt;And expression is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Month = {"&amp;gt;=$(=AddYears(Max(Month) , -1)) &amp;lt;=$(=Max(Month))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 05:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-logic/m-p/1403359#M815898</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-13T05:28:15Z</dc:date>
    </item>
  </channel>
</rss>

