<?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 Qty calculation based on From date and To date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qty-calculation-based-on-From-date-and-To-date/m-p/1804255#M1211962</link>
    <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I have data like below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Raggs_0-1619799763954.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54050i80049EF5D404BCE7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Raggs_0-1619799763954.png" alt="Raggs_0-1619799763954.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to calculate Markdown on Particular Item Qty which is in between the FromDate and ToDate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the below Expression, however its not working properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Raggs_1-1619800167893.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54051i1414903D4A6980FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Raggs_1-1619800167893.png" alt="Raggs_1-1619800167893.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can any one help me on this with high priority.&amp;nbsp;&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;</description>
    <pubDate>Fri, 30 Apr 2021 16:30:16 GMT</pubDate>
    <dc:creator>Raggs</dc:creator>
    <dc:date>2021-04-30T16:30:16Z</dc:date>
    <item>
      <title>Qty calculation based on From date and To date</title>
      <link>https://community.qlik.com/t5/QlikView/Qty-calculation-based-on-From-date-and-To-date/m-p/1804255#M1211962</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I have data like below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Raggs_0-1619799763954.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54050i80049EF5D404BCE7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Raggs_0-1619799763954.png" alt="Raggs_0-1619799763954.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to calculate Markdown on Particular Item Qty which is in between the FromDate and ToDate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the below Expression, however its not working properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Raggs_1-1619800167893.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54051i1414903D4A6980FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Raggs_1-1619800167893.png" alt="Raggs_1-1619800167893.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can any one help me on this with high priority.&amp;nbsp;&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;</description>
      <pubDate>Fri, 30 Apr 2021 16:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qty-calculation-based-on-From-date-and-To-date/m-p/1804255#M1211962</guid>
      <dc:creator>Raggs</dc:creator>
      <dc:date>2021-04-30T16:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Qty calculation based on From date and To date</title>
      <link>https://community.qlik.com/t5/QlikView/Qty-calculation-based-on-From-date-and-To-date/m-p/1804661#M1212011</link>
      <description>&lt;P&gt;if i understand this correctly, you want to look up the field AMount from the first table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;since the amount based on a date will not&amp;nbsp; change no matter what filter is used, you can determine this in your load script so that your visualization is more efficient&lt;/P&gt;&lt;P&gt;on high level, left join your fact table with your pricing table (since there is no detail around the relationship between the pricing table and the order table - assume you look it up only by item number)&lt;BR /&gt;join using item number, amount, start date, and end date&lt;BR /&gt;then cleanup the resulting table using teh where clause Date &amp;gt;= start date and Date &amp;lt;=end date&lt;BR /&gt;this will leave you with a new column in your fact table which is Price (renamed amount).&lt;BR /&gt;so in your expression you just need sum(Qty * Price)&lt;BR /&gt;of course you need to rename fields and drop those you dont need in the fact table&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 15:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qty-calculation-based-on-From-date-and-To-date/m-p/1804661#M1212011</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-05-03T15:14:48Z</dc:date>
    </item>
  </channel>
</rss>

