<?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 Set analysis..... again in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266666#M1191727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had some help from this forum for the following set analysis formel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;OffenePostenHistorie.BELDATUM = {'&amp;lt;=$(FDatum)'}&amp;gt;} OffenePostenHistorie.OBETRAG)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just now I need a set analysis with 2 conditions. I have changed the above statement to the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;OffenePostenHistorie.FLKTG ={'&amp;gt;$(F60)'&amp;gt; , $&amp;lt;OffenePostenHistorie.FLKTG ={'&amp;lt;=$(F90)' &amp;gt;}} OffenePostenHistorie.OBETRAG)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't work. The function of the statement should check the variable "OffenePostenHistorie.FLKTG" is greater than the value in the&lt;/P&gt;&lt;P&gt;variable "F60" &lt;STRONG&gt;and &lt;/STRONG&gt;less or equal than the value in the variable "F90". Both of them (F60 and F90) are defined in the document with his value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, can everybody check the statement and give me a hint?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advandce, Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2011 06:38:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-08T06:38:36Z</dc:date>
    <item>
      <title>Set analysis..... again</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266666#M1191727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had some help from this forum for the following set analysis formel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;OffenePostenHistorie.BELDATUM = {'&amp;lt;=$(FDatum)'}&amp;gt;} OffenePostenHistorie.OBETRAG)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just now I need a set analysis with 2 conditions. I have changed the above statement to the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;OffenePostenHistorie.FLKTG ={'&amp;gt;$(F60)'&amp;gt; , $&amp;lt;OffenePostenHistorie.FLKTG ={'&amp;lt;=$(F90)' &amp;gt;}} OffenePostenHistorie.OBETRAG)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't work. The function of the statement should check the variable "OffenePostenHistorie.FLKTG" is greater than the value in the&lt;/P&gt;&lt;P&gt;variable "F60" &lt;STRONG&gt;and &lt;/STRONG&gt;less or equal than the value in the variable "F90". Both of them (F60 and F90) are defined in the document with his value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, can everybody check the statement and give me a hint?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advandce, Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 06:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266666#M1191727</guid>
      <dc:creator />
      <dc:date>2011-07-08T06:38:36Z</dc:date>
    </item>
    <item>
      <title>Set analysis..... again</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266667#M1191728</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({$&amp;lt;OffenePostenHistorie.FLKTG ={'&amp;gt;$(F60)&amp;lt;=$(F90)'} &amp;gt;} OffenePostenHistorie.OBETRAG)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 06:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266667#M1191728</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-08T06:59:34Z</dc:date>
    </item>
    <item>
      <title>Set analysis..... again</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266668#M1191729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U May try this expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;OffenePostenHistorie.FLKTG ={'&amp;gt;$(F60)&amp;lt;=$(F90)' &amp;gt;}} OffenePostenHistorie.OBETRAG)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 07:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266668#M1191729</guid>
      <dc:creator />
      <dc:date>2011-07-08T07:00:04Z</dc:date>
    </item>
    <item>
      <title>Set analysis..... again</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266669#M1191730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Haubold2010,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had major problems with sets !! When I posted a Query I got a very helpful response from &lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens"&gt;Miguel Angel Baeyens&lt;/A&gt;, I've pasted it in below for you ( Dont really know how to add links on this forum!!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its as helpful to you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K rgds&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I'd like to note the meaning of quoting in set analysis, it's important since, as in every other condition, speed matters, and the faster the set is build the faster your chart will render.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No quotes are used when the values you want to use in your set modifiers are numeric, for example, the year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive-pre notranslate"&gt;&lt;CODE class="jive-code"&gt;Sum({&amp;lt; Year = {2010, 2011} &amp;gt;} Sales)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Single quotes are used with literals (strings), for example, a list of fixed values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive-pre notranslate"&gt;&lt;CODE class="jive-code"&gt;Sum({&amp;lt; Country = {'ES', 'FR', 'UK'} &amp;gt;} Sales)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double quotes are used to search for the values that match certain pattern&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive-pre notranslate"&gt;&lt;CODE class="jive-code"&gt;Sum({&amp;lt; Customer = {"AA*"} &amp;gt;} Sales)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double quotes are used to enclose single quotes as well, and to get sets depending on functions, for example, customers with Sales above 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive-pre notranslate"&gt;&lt;CODE class="jive-code"&gt;Sum({&amp;lt; Customer = {"=Sum(Sales) &amp;gt; 1000"} &amp;gt;} Sales)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So applied to the above, with fixed values, the expression should look like (although the one posted will work)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive-pre notranslate"&gt;&lt;CODE class="jive-code"&gt;Count({&amp;lt; Activity -= {'Funding Sheet'}, AM = {'Anne'} &amp;gt;} Opics)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens"&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 active_link" href="http://www.grupocomex.com/" style="font-size: 12px; color: #007fc0; outline-style: none;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 09:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266669#M1191730</guid>
      <dc:creator />
      <dc:date>2011-07-08T09:47:04Z</dc:date>
    </item>
    <item>
      <title>Set analysis..... again</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266670#M1191731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yogesh and Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much. The set analysis works perfect!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards, Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 09:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266670#M1191731</guid>
      <dc:creator />
      <dc:date>2011-07-08T09:48:09Z</dc:date>
    </item>
    <item>
      <title>Set analysis..... again</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266671#M1191732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your useful posting. I print it for me and I hope I can build the next set analysis function for my own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 09:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-again/m-p/266671#M1191732</guid>
      <dc:creator />
      <dc:date>2011-07-08T09:51:21Z</dc:date>
    </item>
  </channel>
</rss>

