<?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 Re: Set analysis in straight table, how to display out previous record/value? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-straight-table-how-to-display-out-previous/m-p/1198276#M626377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. it been reloaded. For instance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year 2015 data - record ID 123456. is rank 7&lt;/P&gt;&lt;P&gt;Year 2016 data - record ID 123456, ir rank 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, i want to create a straight table to display the record id , and its current rank(rank8) and previous rank(rank7). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2016 06:05:34 GMT</pubDate>
    <dc:creator>jim_chan</dc:creator>
    <dc:date>2016-10-28T06:05:34Z</dc:date>
    <item>
      <title>Set analysis in straight table, how to display out previous record/value?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-straight-table-how-to-display-out-previous/m-p/1198274#M626375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a straight table to display previous and current value. i am plannign to write in the fron end. but how to write in set analysis? any example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For exmaple: I want to display out a ranking of an item - current is Rank1, previous is rank 5. So, i need to create an expression to display the previous value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 05:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-straight-table-how-to-display-out-previous/m-p/1198274#M626375</guid>
      <dc:creator>jim_chan</dc:creator>
      <dc:date>2016-10-28T05:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in straight table, how to display out previous record/value?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-straight-table-how-to-display-out-previous/m-p/1198275#M626376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by previous?&lt;/P&gt;&lt;P&gt;Has the value change since the data been re-loaded?&lt;/P&gt;&lt;P&gt;or the values have some condition that make the rank&amp;nbsp; so they already exist in the current dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'comic sans ms', sans-serif;"&gt;Feeling Qlikngry?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="8342" data-objecttype="102" href="https://community.qlik.com/docs/DOC-8342" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;How To /Missing Manual(25 articles)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A class="jive-link-external-small" href="http://www.qliksteps.com/" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;QlikSteps - Blog&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 06:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-straight-table-how-to-display-out-previous/m-p/1198275#M626376</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2016-10-28T06:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in straight table, how to display out previous record/value?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-straight-table-how-to-display-out-previous/m-p/1198276#M626377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. it been reloaded. For instance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year 2015 data - record ID 123456. is rank 7&lt;/P&gt;&lt;P&gt;Year 2016 data - record ID 123456, ir rank 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, i want to create a straight table to display the record id , and its current rank(rank8) and previous rank(rank7). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 06:05:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-straight-table-how-to-display-out-previous/m-p/1198276#M626377</guid>
      <dc:creator>jim_chan</dc:creator>
      <dc:date>2016-10-28T06:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in straight table, how to display out previous record/value?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-straight-table-how-to-display-out-previous/m-p/1198277#M626378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create variables for previous values and use in set anaylysis expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 06:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-straight-table-how-to-display-out-previous/m-p/1198277#M626378</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2016-10-28T06:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in straight table, how to display out previous record/value?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-straight-table-how-to-display-out-previous/m-p/1198278#M626379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am newbie but here is what I did for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max({&amp;lt;Year={$(vThisYear)}&amp;gt;}Rank)&lt;/P&gt;&lt;P&gt;max({&amp;lt;Year={$(vPreviousYear)}&amp;gt;}Rank)&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Note: use min() or max() depending on your ranking system (if its ascending or descending)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vThisYear&lt;/SPAN&gt;=max(Year)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vPreviousYear&lt;/SPAN&gt;=max(Year-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get a table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Ranking.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/142327_Ranking.jpg" style="height: 89px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dimitar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 07:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-straight-table-how-to-display-out-previous/m-p/1198278#M626379</guid>
      <dc:creator>dimitar_angelov</dc:creator>
      <dc:date>2016-10-28T07:24:40Z</dc:date>
    </item>
  </channel>
</rss>

