<?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 An alternative to Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/An-alternative-to-Set-Analysis/m-p/148082#M505298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;In our area (im not from IT) we developed an application in a professional version 8.5. The fact is that right now the version running in the server is 8.2, so all our coding with set analysis do not work when anyone with an Analyzer tries to see it from the server.&lt;/P&gt;&lt;P&gt;We need a quickly solution while IT makes the server upgrade , but we need to have this application on the server as soon as possible.&lt;/P&gt;&lt;P&gt;Is not a complicated task but i could do the following just using Set Analysis and not "IF". Even though i managed quite well on designing the application, im not from IT and im not an advanced coder.&lt;/P&gt;&lt;P&gt;In some charts we need the possibility of selecting a Main Month and also a Vs. Month. We are using two input boxes associated with variables.&lt;/P&gt;&lt;P&gt;Mes: Select one month&lt;/P&gt;&lt;P&gt;Mes Vs.: Select comparison month&lt;/P&gt;&lt;P&gt;The time dimension of the uploaded that is called "Date"&lt;/P&gt;&lt;P&gt;Here's an example of the coding used&lt;/P&gt;&lt;P&gt;[Code]&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Sum({$&amp;lt;[Date]={&lt;B&gt;&lt;I&gt;$(mes)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [Vol Ucs]) - Sum({$&amp;lt;[Date]={&lt;B&gt;&lt;I&gt;$(Mes Vs)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [Vol Ucs])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in adv.!&lt;/P&gt;&lt;P&gt;Nico&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2009 04:43:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-01T04:43:31Z</dc:date>
    <item>
      <title>An alternative to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/An-alternative-to-Set-Analysis/m-p/148082#M505298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;In our area (im not from IT) we developed an application in a professional version 8.5. The fact is that right now the version running in the server is 8.2, so all our coding with set analysis do not work when anyone with an Analyzer tries to see it from the server.&lt;/P&gt;&lt;P&gt;We need a quickly solution while IT makes the server upgrade , but we need to have this application on the server as soon as possible.&lt;/P&gt;&lt;P&gt;Is not a complicated task but i could do the following just using Set Analysis and not "IF". Even though i managed quite well on designing the application, im not from IT and im not an advanced coder.&lt;/P&gt;&lt;P&gt;In some charts we need the possibility of selecting a Main Month and also a Vs. Month. We are using two input boxes associated with variables.&lt;/P&gt;&lt;P&gt;Mes: Select one month&lt;/P&gt;&lt;P&gt;Mes Vs.: Select comparison month&lt;/P&gt;&lt;P&gt;The time dimension of the uploaded that is called "Date"&lt;/P&gt;&lt;P&gt;Here's an example of the coding used&lt;/P&gt;&lt;P&gt;[Code]&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Sum({$&amp;lt;[Date]={&lt;B&gt;&lt;I&gt;$(mes)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [Vol Ucs]) - Sum({$&amp;lt;[Date]={&lt;B&gt;&lt;I&gt;$(Mes Vs)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [Vol Ucs])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in adv.!&lt;/P&gt;&lt;P&gt;Nico&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 04:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-alternative-to-Set-Analysis/m-p/148082#M505298</guid>
      <dc:creator />
      <dc:date>2009-07-01T04:43:31Z</dc:date>
    </item>
    <item>
      <title>An alternative to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/An-alternative-to-Set-Analysis/m-p/148083#M505299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears that your set analysis is simple enough that it can be replaced with an IF.&lt;/P&gt;&lt;P&gt;sum(if(Date=mes,[Vol Ucs])) - sum(if(Date=[Mes Vs],[Vol Ucs])&lt;/P&gt;&lt;P&gt;The big downside of using IFs is performance. But if you'll be ugrading soon, it probably won't be worth trying to figure out a better solution, since the better solution is to go to version 8.5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 06:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-alternative-to-Set-Analysis/m-p/148083#M505299</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-07-01T06:15:33Z</dc:date>
    </item>
    <item>
      <title>An alternative to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/An-alternative-to-Set-Analysis/m-p/148084#M505300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you John for your Replay.&lt;/P&gt;&lt;P&gt;I try that and it work only when I've got the same month selected in the month's filter.&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;Month variable value = 09 May&lt;/P&gt;&lt;P&gt;If i dont select a month in the Date , nothing appear on the expression.&lt;/P&gt;&lt;P&gt;Can I use a variable to make the selection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 00:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-alternative-to-Set-Analysis/m-p/148084#M505300</guid>
      <dc:creator />
      <dc:date>2009-07-02T00:35:39Z</dc:date>
    </item>
    <item>
      <title>An alternative to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/An-alternative-to-Set-Analysis/m-p/148085#M505301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you use IsNull on the variables to take care of that?&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum(if(Date=mes Or IsNull(mes),[Vol Ucs])) - sum(if(Date=[Mes Vs] Or IsNull([Mes Vs]),[Vol Ucs])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;That way, if nothing is selected, it will pull for every Date. I'm guessing it should also work if one variable has a value, but the other does not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 00:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-alternative-to-Set-Analysis/m-p/148085#M505301</guid>
      <dc:creator />
      <dc:date>2009-07-02T00:45:48Z</dc:date>
    </item>
    <item>
      <title>An alternative to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/An-alternative-to-Set-Analysis/m-p/148086#M505302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should be able to use variable in the IF formula:&lt;/P&gt;&lt;P&gt;if(Date = $(mes), ...&lt;/P&gt;&lt;P&gt;Just check how your variable is being populated. If it's populated when the month is selected from the list box - that's the reason for such behavior.&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 01:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-alternative-to-Set-Analysis/m-p/148086#M505302</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-07-02T01:07:43Z</dc:date>
    </item>
  </channel>
</rss>

