<?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 AW:Re: AW:Last yr value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177132#M44852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satish,&lt;/P&gt;&lt;P&gt;now I had the time to take a look at your exam. app. See my linechart, I am quite sure thats want you want to achieve.&lt;/P&gt;&lt;P&gt;Notes: I created a new (temp.) dim: calendar week. It is independent from any year. Without this dim it would be much more difficult. So think about creating such a field during load, if you need it more often. Second: take a look at the expressions where I used SET analysis to get the according year. Didn't use any vars for the first step&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jan 2011 10:53:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-21T10:53:11Z</dc:date>
    <item>
      <title>Last yr value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177124#M44844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In my table, i have Fiscalyrwk,FcMonth,FcQtr.&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;FiscalYrwk FcMonth FcQtr Value&lt;/P&gt;&lt;P&gt;200852 200812 200804 500&lt;/P&gt;&lt;P&gt;200952 200912 200904 1000&lt;/P&gt;&lt;P&gt;201052 201012 201004 2000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want,&lt;/P&gt;&lt;P&gt;In chart (Line chart)&lt;/P&gt;&lt;P&gt;Dimension -- FiscalyrWk&lt;/P&gt;&lt;P&gt;expression i want to show current yr value and last yr value (i.e 201052 -&amp;gt; 2000 as well 1000)&lt;/P&gt;&lt;P&gt;I know it is possible to pull once again the table and use Applymap. i want to know wheather setanalysis itself it is possible can do?&lt;/P&gt;&lt;P&gt;I am waiting for ur reply.....&lt;/P&gt;&lt;P&gt;-Sathish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 11:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177124#M44844</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2011-01-20T11:59:50Z</dc:date>
    </item>
    <item>
      <title>AW:Last yr value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177125#M44845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sathish,&lt;/P&gt;&lt;P&gt;i would try to use SET Analysis in your expressions (like this, assuming you have a field FiscalYr):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum( { &amp;lt;FiscalYr= {'2009'} &amp;gt; } Value)&lt;BR /&gt;sum( { &amp;lt;FiscalYr= {'2010'} &amp;gt; } Value)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Next idea is to define and use variables like CurYear=Year(today()) and LstYear=Year(Today())-1&lt;/P&gt;&lt;P&gt;Regards, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 13:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177125#M44845</guid>
      <dc:creator />
      <dc:date>2011-01-20T13:53:09Z</dc:date>
    </item>
    <item>
      <title>AW:Last yr value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177126#M44846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 14:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177126#M44846</guid>
      <dc:creator />
      <dc:date>2011-01-20T14:43:36Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Last yr value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177127#M44847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello MaevaFromAix,&lt;/P&gt;&lt;P&gt;the sum() in my post above is only one (most popular) member of the aggregation functions like count(), ....The SET analysis resides between the {}-brackets. Now with count() as example &lt;I&gt;count( {&amp;lt;Year='2010'&amp;gt;} ID)&lt;/I&gt;. This is to count only IDs "from the year 2010". Within the &amp;lt;&amp;gt; you specify the exception(s) of the current selection. For the exam. expression above it is very independet what the user has (or has not) selected as Year.&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 15:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177127#M44847</guid>
      <dc:creator />
      <dc:date>2011-01-20T15:37:39Z</dc:date>
    </item>
    <item>
      <title>Last yr value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177128#M44848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;you can try this:&lt;/P&gt;&lt;P&gt;{$&amp;lt;Year={$(=Max(Year)-1)}&amp;gt;}&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 17:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177128#M44848</guid>
      <dc:creator>marcohadiyanto</dc:creator>
      <dc:date>2011-01-20T17:04:18Z</dc:date>
    </item>
    <item>
      <title>AW:Last yr value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177129#M44849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland,&lt;/P&gt;&lt;P&gt;Thanks for ur reply. But this will not helpful for me.&lt;/P&gt;&lt;P&gt;Here I will explain more what i want.&lt;/P&gt;&lt;P&gt;Please find the attachments file. In this file explains what i want exactly.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 06:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177129#M44849</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2011-01-21T06:42:03Z</dc:date>
    </item>
    <item>
      <title>Last yr value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177130#M44850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i had opened your qvw, you can put this in your 'LastYr Value' expression :&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year={$(=Max(Year)-1)}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 08:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177130#M44850</guid>
      <dc:creator>marcohadiyanto</dc:creator>
      <dc:date>2011-01-21T08:08:15Z</dc:date>
    </item>
    <item>
      <title>AW:Last yr value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177131#M44851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Macro,&lt;/P&gt;&lt;P&gt;I think u r not understand what i want. ur expression will not help for me.&lt;/P&gt;&lt;P&gt;Because i am not considering max(Year). and also dimension is week.&lt;/P&gt;&lt;P&gt;Kindly check that appication (Pivot table)&lt;/P&gt;&lt;P&gt;-Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 09:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177131#M44851</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2011-01-21T09:38:04Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Last yr value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177132#M44852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satish,&lt;/P&gt;&lt;P&gt;now I had the time to take a look at your exam. app. See my linechart, I am quite sure thats want you want to achieve.&lt;/P&gt;&lt;P&gt;Notes: I created a new (temp.) dim: calendar week. It is independent from any year. Without this dim it would be much more difficult. So think about creating such a field during load, if you need it more often. Second: take a look at the expressions where I used SET analysis to get the according year. Didn't use any vars for the first step&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 10:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177132#M44852</guid>
      <dc:creator />
      <dc:date>2011-01-21T10:53:11Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Last yr value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177133#M44853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland,&lt;/P&gt;&lt;P&gt;Thanks for ur reply. But i need same dimension. I understand some other dimension it will work but challenge is same dimension it is possible to write set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 14:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177133#M44853</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2011-01-21T14:47:06Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Re: AW:Last yr value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177134#M44854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathish,&lt;/P&gt;&lt;P&gt;sorry, but as far as I know it isn't possible using week as dim and showing the values for 200948 and 201048 above each other as you did in your workaround in your chart. Your Week(-Year) depends on the year, this is that the values depend also on the year and can't be shown above each other. So I would follow up your idea with creating these values during load and store them in seperate fields. Then you can use the Week(-Year) as dim.&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jan 2011 11:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-yr-value/m-p/177134#M44854</guid>
      <dc:creator />
      <dc:date>2011-01-23T11:39:18Z</dc:date>
    </item>
  </channel>
</rss>

