<?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 How to show the previous values data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-the-previous-values-data/m-p/227784#M79876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I hv list box with fieldname as month with values jan,feb,mar,.....&lt;/P&gt;&lt;P&gt;i hv pivot table with prodname,current_sale,previous_sale&lt;/P&gt;&lt;P&gt;i need previous row to be get displayed in previous_sale if my current selection is march it should show the sale of feb...&lt;/P&gt;&lt;P&gt;if feb then sale of jan to be get displayed&lt;/P&gt;&lt;P&gt;how to show the previous row datas easily....&lt;/P&gt;&lt;P&gt;pls help me out,,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Oct 2010 10:18:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-05T10:18:18Z</dc:date>
    <item>
      <title>How to show the previous values data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-the-previous-values-data/m-p/227784#M79876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I hv list box with fieldname as month with values jan,feb,mar,.....&lt;/P&gt;&lt;P&gt;i hv pivot table with prodname,current_sale,previous_sale&lt;/P&gt;&lt;P&gt;i need previous row to be get displayed in previous_sale if my current selection is march it should show the sale of feb...&lt;/P&gt;&lt;P&gt;if feb then sale of jan to be get displayed&lt;/P&gt;&lt;P&gt;how to show the previous row datas easily....&lt;/P&gt;&lt;P&gt;pls help me out,,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 10:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-the-previous-values-data/m-p/227784#M79876</guid>
      <dc:creator />
      <dc:date>2010-10-05T10:18:18Z</dc:date>
    </item>
    <item>
      <title>How to show the previous values data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-the-previous-values-data/m-p/227785#M79877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Add another field in your table as Month number. Its better if you are using a calendar jus add another field as num(Month). In your expression you can use the month no . Also add a Variable vPrevMonth = num(Month)-1&lt;/P&gt;&lt;P&gt;eg: Sum({&amp;lt;MonthNo={$(#vPrevMonth)&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 22:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-the-previous-values-data/m-p/227785#M79877</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-10-05T22:03:37Z</dc:date>
    </item>
    <item>
      <title>How to show the previous values data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-the-previous-values-data/m-p/227786#M79878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis will work, but ONLY if a single month is selected. A set is built once for the entire table, so if multiple months are selected, it fails.&lt;/P&gt;&lt;P&gt;My usual suggestion is therefore to build an AsOf table. You wouldn't do an inline load like this, but to give the idea of the data structure:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;AsOfMonth, MonthType, Month&lt;BR /&gt;Oct 2010, Current, Oct 2010&lt;BR /&gt;Oct 2010, Previous, Sep 2010&lt;BR /&gt;Sep 2010, Current, Sep 2010&lt;BR /&gt;Sep 2010, Previous, Aug 2010&lt;/P&gt;&lt;P&gt;Then use AsOfMonth instead of Month in your pivot table, and add MonthType as a dimension. Then the expression is a simple sum(Sales), with no conditional logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 22:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-the-previous-values-data/m-p/227786#M79878</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-10-05T22:18:00Z</dc:date>
    </item>
  </channel>
</rss>

