<?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: *** Yet another Set Analysis Question *** in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272609#M499105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mate, It happens some time for me also &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt; noworries.Cheers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2011 12:11:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-08T12:11:21Z</dc:date>
    <item>
      <title>*** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272598#M499094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Dear All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;I have quick question on one of the expressions. Here is the expression...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;=SUM({1&amp;lt;FYrNum = {$(=Only(FYrNum)-1)}, StoreName = {"*"}&amp;gt;} NetSales) / 1000000&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: trebuchet ms,geneva;"&gt;I am sure this should be pretty simple to solve... but I am struggling to get my head around this one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; font-family: trebuchet ms,geneva;"&gt;I have two list boxes : FYrNum &amp;amp; StoreName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: trebuchet ms,geneva;"&gt;If the user selects 2010 in FYrNum (Listbox) I wanted to show the data for previous year, however user will also filter for the StoreName. My Current expression (above stated) doesn't filter on StoreName because we are using {1} and it just shows the data for all the stores. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: trebuchet ms,geneva;"&gt;So I need the data for FYrNum when the user selects the years and if the users selects the StoreName I wanted the data to be filtered on StoreName as well. I am using all this in one Guage chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: trebuchet ms,geneva;"&gt;I think I need to use SET OPERATOR to get this working but I am struggling to get this working.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: trebuchet ms,geneva;"&gt;Many thanks in anticipation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: trebuchet ms,geneva;"&gt;Cheers - DV&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 09:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272598#M499094</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-06-08T09:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: *** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272599#M499095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I got your question right, you want your gauge chart to be affected by selections in both FYrNum and StoreName. Is that right? Then I'd use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;SUM({&amp;lt; FYrNum = {$(=Only(FYrNum)-1)} &amp;gt;} NetSales) / 1000000&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you are expecting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272599#M499095</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-08T10:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: *** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272600#M499096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Miguel - Thank you for quick reponse. You got the question right... however, I tried your expression and it returns 0 instead of the previous year's NetSales. I am assuming that is because we are using current selection. Please help...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Thanks - &lt;STRONG&gt;DV&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272600#M499096</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-06-08T10:13:09Z</dc:date>
    </item>
    <item>
      <title>*** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272601#M499097</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;Use this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FYrNum = {$(=Only(FYrNum)-1)}&amp;gt;} NetSales) / 1000000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272601#M499097</guid>
      <dc:creator />
      <dc:date>2011-06-08T10:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: *** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272602#M499098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Bhaskar - This is same exactly same what Miguel has given. Even if you dont place the '$' at the beginning QV assumes it as current selection. So this is exactly same as Miguel's solution. The problem with this approach is... if I select FYrNum (Year) as 2010 then my current selection is for 2010 then how would get the data for previous year?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Hope this makes sense...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Cheers - &lt;STRONG&gt;DV&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272602#M499098</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-06-08T10:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: *** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272603#M499099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, DV&lt;/P&gt;&lt;P&gt;That expression should work... &lt;/P&gt;&lt;P&gt;Please, check my attachment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272603#M499099</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-06-08T10:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: *** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272604#M499100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;﻿hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check what's New in 9.0 Template (Dashboard tab). You will find the solution to your problem. Use the same syntax which they have used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry the copy past is not woking for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272604#M499100</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-06-08T10:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: *** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272605#M499101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure i have understood your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the attached application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sridhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT : I`m too late to post this &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, 08 Jun 2011 10:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272605#M499101</guid>
      <dc:creator />
      <dc:date>2011-06-08T10:37:25Z</dc:date>
    </item>
    <item>
      <title>*** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272606#M499102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hope 'FYrNum'&amp;nbsp; is in Number Format and Not Text format..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272606#M499102</guid>
      <dc:creator />
      <dc:date>2011-06-08T10:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: *** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272607#M499103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Miguel – You are absolutely right!! Your expression worksand I had unnecessarily made things complicated. I am kicking myself for notthinking about this… its my mistake &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Dear All – Folks it works and it was my mistake as I amfiltering on different Calendar Year (Names are so similar). Many thanks andsorry for inconvience.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Cheers - DV&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272607#M499103</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-06-08T10:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: *** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272608#M499104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Sridhar, Erika &amp;amp; Bhaskar – Thanks for the suggestions. Iwas filtering on wrong field and spent 2 hours since morning&lt;/SPAN&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &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, 08 Jun 2011 10:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272608#M499104</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-06-08T10:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: *** Yet another Set Analysis Question ***</title>
      <link>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272609#M499105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mate, It happens some time for me also &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt; noworries.Cheers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 12:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yet-another-Set-Analysis-Question/m-p/272609#M499105</guid>
      <dc:creator />
      <dc:date>2011-06-08T12:11:21Z</dc:date>
    </item>
  </channel>
</rss>

