<?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 Previous Year To Date Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-Year-To-Date-Analysis/m-p/665432#M1080362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My job is to obtain sum of Ordered_Quantity for "Present Year-to-date and Previous Year-To-Date" for one selection using straight chart, by taking Sold_to_org_id as dimension and I have used expressions to obtain Present Year-To-Date and Previous Year-To_Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created Year, Month and Day using Inline Load and used these values for selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have succeeded in getting the output for Present Year-To-Date by using expression,&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year=, Month=, Day=, DateNum={"&amp;gt;=$(=Num(YearStart(Max(DateNum))))&amp;lt;=$(=Max(DateNum))"}&amp;gt;} OE_ORDER_LINES_ALL.ORDERED_QUANTITY)&lt;/P&gt;&lt;P&gt;Where Datenum = (Floor(orderdate)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having issue with Previous Year_To-Date. I have tried all, the expressions I Knew and got from blogs, but still it is displaying zero's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in obtaining the sum of Ordered_Quantity for&amp;nbsp; Present Year_To-Date as well as Previous Year_To-Date using one selection of Year,&amp;nbsp; Month and Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Jul 2014 20:54:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-12T20:54:43Z</dc:date>
    <item>
      <title>Previous Year To Date Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Year-To-Date-Analysis/m-p/665432#M1080362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My job is to obtain sum of Ordered_Quantity for "Present Year-to-date and Previous Year-To-Date" for one selection using straight chart, by taking Sold_to_org_id as dimension and I have used expressions to obtain Present Year-To-Date and Previous Year-To_Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created Year, Month and Day using Inline Load and used these values for selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have succeeded in getting the output for Present Year-To-Date by using expression,&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year=, Month=, Day=, DateNum={"&amp;gt;=$(=Num(YearStart(Max(DateNum))))&amp;lt;=$(=Max(DateNum))"}&amp;gt;} OE_ORDER_LINES_ALL.ORDERED_QUANTITY)&lt;/P&gt;&lt;P&gt;Where Datenum = (Floor(orderdate)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having issue with Previous Year_To-Date. I have tried all, the expressions I Knew and got from blogs, but still it is displaying zero's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in obtaining the sum of Ordered_Quantity for&amp;nbsp; Present Year_To-Date as well as Previous Year_To-Date using one selection of Year,&amp;nbsp; Month and Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 20:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Year-To-Date-Analysis/m-p/665432#M1080362</guid>
      <dc:creator />
      <dc:date>2014-07-12T20:54:43Z</dc:date>
    </item>
  </channel>
</rss>

