<?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: Comparisons in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741367#M664268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A simple Line Chart having Month as the dimension and Close as the expression should do. Or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 12:09:43 GMT</pubDate>
    <dc:creator>isorinrusu</dc:creator>
    <dc:date>2015-01-06T12:09:43Z</dc:date>
    <item>
      <title>Comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741364#M664264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning. I'm new to QLIK and i'm working to a monitoring dashboard of some equitys. This is an example of an equity's load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;Microsoft:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;LOAD year(Date) as Year,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp; month(Date) as Month, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp; Date, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; High, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Low, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Close, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Volume, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Adj Close]&amp;nbsp; ,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'MICROSOFT' as Azione&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to compare the close of the equity with the previous closes. For example compare the last close with the close of december to see his trend. How can i do? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 11:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741364#M664264</guid>
      <dc:creator />
      <dc:date>2015-01-06T11:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741365#M664266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;Straight table:&lt;/P&gt;&lt;P&gt;Dimension: Month&lt;/P&gt;&lt;P&gt;Exp1: FirstSortedValue(Close, -Date)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Monthwise last close&lt;/P&gt;&lt;P&gt;Exp2: Above(Column(1))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Monthwise previous month last close&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: To get proper above() result, you have to sort the chart Month wise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 12:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741365#M664266</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-01-06T12:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741366#M664267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share the sample data file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that we can help you in better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 12:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741366#M664267</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2015-01-06T12:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741367#M664268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A simple Line Chart having Month as the dimension and Close as the expression should do. Or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 12:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741367#M664268</guid>
      <dc:creator>isorinrusu</dc:creator>
      <dc:date>2015-01-06T12:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741368#M664269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See below discussion may help you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/267055#267055" title="http://community.qlik.com/message/267055#267055"&gt;http://community.qlik.com/message/267055#267055&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/341282#341282" title="http://community.qlik.com/message/341282#341282"&gt;http://community.qlik.com/message/341282#341282&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/619584#619584" title="http://community.qlik.com/message/619584#619584"&gt;http://community.qlik.com/message/619584#619584&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 12:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741368#M664269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T12:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741369#M664271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how can i have a percentage of the change? For example Apple close went down of 2% compared with last close?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 16:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741369#M664271</guid>
      <dc:creator />
      <dc:date>2015-01-06T16:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741370#M664272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV often has various ways to achieve what you want.&lt;/P&gt;&lt;P&gt;To start with I should try the idea given by tresesco (above). This should give you the latest value for this month and the closing value for last month. You can then create a 3rd expression calculating the difference as a percentage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you might also look at your script, and when you load the data, it may make sense to have one row for each month, by GROUPing the values for that month (eg. MAX(High).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 16:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741370#M664272</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2015-01-06T16:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741371#M664273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To achieve this comparison your best option will be to use alternative states.&amp;nbsp; Create one state for the current close and one state for the previous close.&amp;nbsp; In your set subtract the alternate state of previous close by current close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option would be to add the close date to your data model and AGGR by the close date.&amp;nbsp; If you go this route you'll have to Peek the close date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 16:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741371#M664273</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2015-01-06T16:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741372#M664274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Richard and Tresesco! I did it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 09:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741372#M664274</guid>
      <dc:creator />
      <dc:date>2015-01-07T09:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Comparisons</title>
      <link>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741373#M664275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good news !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 09:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparisons/m-p/741373#M664275</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2015-01-07T09:18:10Z</dc:date>
    </item>
  </channel>
</rss>

