<?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 for YoY in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723616#M259633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sailee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt; you cannot achieve that purely by set analisys but I prefer other solution for such problems.&lt;/P&gt;&lt;P&gt;Look at &lt;A href="https://community.qlik.com/thread/116959"&gt;How to trend Current Sales vs Prev Sales, using date as dimension?&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; I believe requirements there are similiar to your's. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Look at discussion there - there are several solutions. My solution there (with a sample application) is in creation of special sort of calendar. Good description of that method is at&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://community.qlik.com/docs/DOC-6593"&gt;Calendar with flags making set analysis so very simple&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2014 14:10:48 GMT</pubDate>
    <dc:creator>vadimtsushko</dc:creator>
    <dc:date>2014-08-06T14:10:48Z</dc:date>
    <item>
      <title>Set Analysis for YoY</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723611#M259628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts, &lt;/P&gt;&lt;P&gt;I have data in following format : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 192px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="64"&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Jul&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Jul&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Aug&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Aug&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;70&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use set analysis to display same table in following format :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 227px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" width="99"&gt;M&lt;STRONG&gt;onth - Year&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="64"&gt;&lt;STRONG&gt;Value CY&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="64"&gt;&lt;STRONG&gt;Value PY&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;Jul-14&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;Aug-14&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;70&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve the same ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sailee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 10:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723611#M259628</guid>
      <dc:creator />
      <dc:date>2014-08-06T10:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for YoY</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723612#M259629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable and name it vCurrentYear and set max(Year) and create another one for last year &lt;/P&gt;&lt;P&gt;create 2 expressions&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year={'$(vCurrentYear)'}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year={'$(vLastYear)'}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;and set a calculated dimension Month &amp;amp; '-' &amp;amp; Year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 10:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723612#M259629</guid>
      <dc:creator>Yousef_Amarneh</dc:creator>
      <dc:date>2014-08-06T10:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for YoY</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723613#M259630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For multiple years, set analysis would not give you desired result in chart. Better try in the script like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Input:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; *,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Year&amp;amp;Month as Key;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load * Inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Year, Month, Value&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2013, Jul, 20&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014, Jul, 30&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2013, Aug, 60&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2014, Aug, 70&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;] ;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Year-1&amp;amp;Month as Key,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Value as PreYValue&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Input;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 10:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723613#M259630</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-06T10:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for YoY</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723614#M259631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Yousef. I tried the above, However I get data as shown below. I want Month-Year to show only Month-Current Year and then the columns will have CY and PY data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample_Data.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63827_Sample_Data.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 10:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723614#M259631</guid>
      <dc:creator />
      <dc:date>2014-08-06T10:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for YoY</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723615#M259632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, set only month in the dimension and select the month that you want&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 10:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723615#M259632</guid>
      <dc:creator>Yousef_Amarneh</dc:creator>
      <dc:date>2014-08-06T10:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for YoY</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723616#M259633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sailee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt; you cannot achieve that purely by set analisys but I prefer other solution for such problems.&lt;/P&gt;&lt;P&gt;Look at &lt;A href="https://community.qlik.com/thread/116959"&gt;How to trend Current Sales vs Prev Sales, using date as dimension?&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; I believe requirements there are similiar to your's. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Look at discussion there - there are several solutions. My solution there (with a sample application) is in creation of special sort of calendar. Good description of that method is at&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://community.qlik.com/docs/DOC-6593"&gt;Calendar with flags making set analysis so very simple&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 14:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723616#M259633</guid>
      <dc:creator>vadimtsushko</dc:creator>
      <dc:date>2014-08-06T14:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for YoY</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723617#M259634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt; and &lt;A href="https://community.qlik.com/qlik-users/60671"&gt;Vadim Tsushko&lt;/A&gt; did at the script level .. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just have one doubt .. Does preceding loads impact the performance of dashboard ? I do have ample amount of data in the database. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 04:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723617#M259634</guid>
      <dc:creator />
      <dc:date>2014-08-07T04:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for YoY</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723618#M259635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it does, and does it positively. Preceding load is something that should be used wherever possible rather than resident load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 04:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YoY/m-p/723618#M259635</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-07T04:26:43Z</dc:date>
    </item>
  </channel>
</rss>

