<?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 Compare previous value with current value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242923#M92797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the data source contain the history of changes, or do you need QlikView to keep the history from one relaod to the next?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2011 09:32:09 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2011-09-07T09:32:09Z</dc:date>
    <item>
      <title>Compare previous value with current value</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242922#M92796</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;I want to compare values based on previos time the value was changed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So say i have a value: 3,0 that change 2011-09-01 and then that value changed 2011-09-07 to 4,0. &lt;/P&gt;&lt;P&gt;now, in my chart, i want to compare these values to show with arrows the change (up or down). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i find these values when the dates aren't frequent? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking i might have to do something in the script or am i wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242922#M92796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-07T09:20:58Z</dc:date>
    </item>
    <item>
      <title>Compare previous value with current value</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242923#M92797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the data source contain the history of changes, or do you need QlikView to keep the history from one relaod to the next?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242923#M92797</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-07T09:32:09Z</dc:date>
    </item>
    <item>
      <title>Compare previous value with current value</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242924#M92798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview is keeping the history in QVD files. one file for every day (not the changeday so to speak, but every day).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242924#M92798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-07T09:36:13Z</dc:date>
    </item>
    <item>
      <title>Compare previous value with current value</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242925#M92799</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;As i understand i think you need to use the smiles in the chart and for these you need to add another column as a smiley for up/down like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For up&lt;/P&gt;&lt;P&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_n_g.png'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Down&lt;/P&gt;&lt;P&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_s_r.png'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is your requirement if so let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242925#M92799</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-07T09:39:19Z</dc:date>
    </item>
    <item>
      <title>Compare previous value with current value</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242926#M92800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe the best solution is working it on the script, first you need to sort the rows by date (order also by product if u have different values for different products or objects):&lt;/P&gt;&lt;P&gt;Tab:&lt;/P&gt;&lt;P&gt;load ...&lt;/P&gt;&lt;P&gt;Product,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Value&lt;/P&gt;&lt;P&gt;from table order by Product,Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;load * ,&lt;/P&gt;&lt;P&gt;if(peek(Value)&amp;gt;Value,'Down',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(peek(Value)&amp;lt;Value,'Up','=')) as ChangeIndicator&lt;/P&gt;&lt;P&gt;resident Tab;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Tab;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this way you have an indicator for each date looking to the previous value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 09:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242926#M92800</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2011-09-07T09:50:37Z</dc:date>
    </item>
    <item>
      <title>Compare previous value with current value</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242927#M92801</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;For perticular value how many changes and date records available in the data please provide the details about that, it is only two dates for more changes means there is first change and second change of the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 10:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242927#M92801</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-07T10:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Compare previous value with current value</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242928#M92802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attached filee &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this help you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 10:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242928#M92802</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-09-07T10:11:56Z</dc:date>
    </item>
    <item>
      <title>Compare previous value with current value</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242929#M92803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. This looks good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my exampel i have a dimension, and then the first expression picks out the latest value represented and when i added another expression with the "Chageindicator" that dimension can have several. i'v lost it here. completely. but how do i use the changeindicator if you would suggest?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 10:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242929#M92803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-07T10:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compare previous value with current value</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242930#M92804</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;You dont need to load another column for that when you are able to check it with any condition like for Up/Down.&lt;/P&gt;&lt;P&gt;So dont need to load another column it increases unnecesary memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached sampl file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 10:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242930#M92804</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-07T10:40:21Z</dc:date>
    </item>
    <item>
      <title>Compare previous value with current value</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242931#M92805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for som reson i can't download files. think it's the firewall. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 10:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242931#M92805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-07T10:41:25Z</dc:date>
    </item>
    <item>
      <title>Compare previous value with current value</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242932#M92806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There´s several dates for change in my data. does the peek thing still works if so? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried it on a sample of data but it gives me two rows with the latest value one of those rows has a = as changeindicator and the other one has a Down (which is the correct one). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this becaus i have 3 different change dates? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 11:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-previous-value-with-current-value/m-p/242932#M92806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-07T11:50:53Z</dc:date>
    </item>
  </channel>
</rss>

