<?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 Sum of Sales Qty between Two Dates(FromDate and ToDate) in Adhoc Report in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-Sales-Qty-between-Two-Dates-FromDate-and-ToDate-in-Adhoc/m-p/1804835#M1212025</link>
    <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have data like below&amp;nbsp; and Its linked with Sales table with the key combination of 3 Fields&amp;nbsp;i.e.&amp;nbsp;&lt;STRONG&gt;Customer Cat1&lt;/STRONG&gt;, &lt;STRONG&gt;Item#&lt;/STRONG&gt;, and&amp;nbsp;&lt;STRONG&gt;Year(&lt;/STRONG&gt;Year derived from FromDate field&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Raggs_0-1620111770466.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54190i92969BBDFB84EBEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Raggs_0-1620111770466.png" alt="Raggs_0-1620111770466.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to calculate Markdown value on Sales Qty which is in between FromDate and Todate.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/U&gt;:&amp;nbsp; Customer Cat1(370665) and Item#(38725-143)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;For the above example we have FromDate(01-02-2020&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;(MM-DD-YYYY)&lt;/EM&gt;&lt;/FONT&gt;) and Todate(31-07-2020&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;(MM-DD-YYYY)&lt;/EM&gt;&lt;/FONT&gt;)&amp;nbsp; and the Amount should calculate from the Amount filed, i.e.&amp;nbsp; &lt;STRONG&gt;9.00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/U&gt;: Need to calculate the Markdown Rs. 9.00 is on Sales Qty which is&amp;nbsp; in between&amp;nbsp;FromDate(01-02-2020&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;(MM-DD-YYYY)&lt;/EM&gt;&lt;/FONT&gt;) and Todate(31-07-2020&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;(MM-DD-YYYY)&lt;/EM&gt;&lt;/FONT&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the below Expression, however its not working.&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; YearPeriod = {&lt;EM&gt;$(=Max(RequestYearPeriod)-1&lt;/EM&gt;)}, InvoiceDate={"&amp;nbsp; &amp;gt;= (FromDate) &amp;lt;= (ToDate) "} &amp;gt;}&amp;nbsp; Qty) * Amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Can any one help me on this with high priority.&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards and Thanks,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22245"&gt;@swuehl&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 May 2021 07:24:59 GMT</pubDate>
    <dc:creator>Raggs</dc:creator>
    <dc:date>2021-05-04T07:24:59Z</dc:date>
    <item>
      <title>Sum of Sales Qty between Two Dates(FromDate and ToDate) in Adhoc Report</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Sales-Qty-between-Two-Dates-FromDate-and-ToDate-in-Adhoc/m-p/1804835#M1212025</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have data like below&amp;nbsp; and Its linked with Sales table with the key combination of 3 Fields&amp;nbsp;i.e.&amp;nbsp;&lt;STRONG&gt;Customer Cat1&lt;/STRONG&gt;, &lt;STRONG&gt;Item#&lt;/STRONG&gt;, and&amp;nbsp;&lt;STRONG&gt;Year(&lt;/STRONG&gt;Year derived from FromDate field&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Raggs_0-1620111770466.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54190i92969BBDFB84EBEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Raggs_0-1620111770466.png" alt="Raggs_0-1620111770466.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to calculate Markdown value on Sales Qty which is in between FromDate and Todate.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/U&gt;:&amp;nbsp; Customer Cat1(370665) and Item#(38725-143)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;For the above example we have FromDate(01-02-2020&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;(MM-DD-YYYY)&lt;/EM&gt;&lt;/FONT&gt;) and Todate(31-07-2020&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;(MM-DD-YYYY)&lt;/EM&gt;&lt;/FONT&gt;)&amp;nbsp; and the Amount should calculate from the Amount filed, i.e.&amp;nbsp; &lt;STRONG&gt;9.00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/U&gt;: Need to calculate the Markdown Rs. 9.00 is on Sales Qty which is&amp;nbsp; in between&amp;nbsp;FromDate(01-02-2020&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;(MM-DD-YYYY)&lt;/EM&gt;&lt;/FONT&gt;) and Todate(31-07-2020&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;(MM-DD-YYYY)&lt;/EM&gt;&lt;/FONT&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the below Expression, however its not working.&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; YearPeriod = {&lt;EM&gt;$(=Max(RequestYearPeriod)-1&lt;/EM&gt;)}, InvoiceDate={"&amp;nbsp; &amp;gt;= (FromDate) &amp;lt;= (ToDate) "} &amp;gt;}&amp;nbsp; Qty) * Amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Can any one help me on this with high priority.&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards and Thanks,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22245"&gt;@swuehl&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 07:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Sales-Qty-between-Two-Dates-FromDate-and-ToDate-in-Adhoc/m-p/1804835#M1212025</guid>
      <dc:creator>Raggs</dc:creator>
      <dc:date>2021-05-04T07:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Sales Qty between Two Dates(FromDate and ToDate) in Adhoc Report</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Sales-Qty-between-Two-Dates-FromDate-and-ToDate-in-Adhoc/m-p/1805576#M1212061</link>
      <description>&lt;P&gt;The expression editor should display what it will evaluate to at the bottom of the screen. Not sure if you need $(FromDate) perhaps or '$(FromDate)' to ensure the dates have single quotes around them. The Expression editor syntax at the bottom of the screen will display what is wrong and that usually helps especially since you already understand Set Analysis.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 17:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Sales-Qty-between-Two-Dates-FromDate-and-ToDate-in-Adhoc/m-p/1805576#M1212061</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2021-05-05T17:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Sales Qty between Two Dates(FromDate and ToDate) in Adhoc Report</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Sales-Qty-between-Two-Dates-FromDate-and-ToDate-in-Adhoc/m-p/1807185#M1212212</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49457"&gt;@Dalton_Ruer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried this, however its not working&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one help me on this ASAP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 06:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Sales-Qty-between-Two-Dates-FromDate-and-ToDate-in-Adhoc/m-p/1807185#M1212212</guid>
      <dc:creator>Raggs</dc:creator>
      <dc:date>2021-05-12T06:43:00Z</dc:date>
    </item>
  </channel>
</rss>

