<?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 expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/307002#M113428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a thought..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was having a very similar problem with calculating percentages. The solution to my problem was to un-select the Relative box for that column and the calculations worked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is probably not the solution to your problem but it might help someone "googling" for an answer to their problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2011 10:55:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-02T10:55:57Z</dc:date>
    <item>
      <title>set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/306995#M113421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any reason why this expression will not work, keep getting a null value, but I know that both 'Value' and 'GP' are &lt;STRONG&gt;not &lt;/STRONG&gt;null figures. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({$&amp;lt; Date_MonthYear = {"&amp;gt;=$(#vDate12)&amp;lt;=$(#vDateNow)"} &amp;gt;} (GP/Value))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 10:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/306995#M113421</guid>
      <dc:creator />
      <dc:date>2011-08-29T10:22:59Z</dc:date>
    </item>
    <item>
      <title>set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/306996#M113422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the syntax in the condition in the Set analysis is not correct or it returns strange results, the result of the whole aggregation function may be null. Check that it works without the set analysis, and if it does, you will know that the set modifier or syntax is not correct.&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" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; 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>Mon, 29 Aug 2011 10:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/306996#M113422</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-29T10:33:14Z</dc:date>
    </item>
    <item>
      <title>set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/306997#M113423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for the reply Miguel. It still does not work when I take out the set analyis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(GP/Value) gives me a null value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(GP) gives me all the GP values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Value) gives me all the 'Value' values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im at a loss as to what im doing wrong, any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 10:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/306997#M113423</guid>
      <dc:creator />
      <dc:date>2011-08-29T10:51:17Z</dc:date>
    </item>
    <item>
      <title>set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/306998#M113424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you &lt;SPAN style="text-decoration: underline;"&gt;leave the Label of the expression empty&lt;/SPAN&gt; you should be able to see the evaluation of your set expression when you &lt;SPAN style="text-decoration: underline;"&gt;hover the mouse over the column heading&lt;/SPAN&gt;, this is often a good trick if you are having problems with set expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 10:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/306998#M113424</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-08-29T10:51:23Z</dc:date>
    </item>
    <item>
      <title>set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/306999#M113425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi brianm10,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have values for GP and Value for each record or either GP or Value in a record?&lt;/P&gt;&lt;P&gt;sum(GP/Value) is calculating the division on record level, so latter will be a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could try using two sums with set expression and devide the two sums? But it depends what you want to achieve, I think GP/Value may some kind of percentage, so you might not want to calculate the sum of percentages, but the percentage of summed values anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 11:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/306999#M113425</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-29T11:17:04Z</dc:date>
    </item>
    <item>
      <title>set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/307000#M113426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I dont have values for each record. Some records have both a 'Value' and 'GP' figure but there are some null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing this is why Im getting a null value? How can I overcome the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 11:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/307000#M113426</guid>
      <dc:creator />
      <dc:date>2011-08-29T11:43:19Z</dc:date>
    </item>
    <item>
      <title>set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/307001#M113427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think even if you don't have values for each record, you should not get&amp;nbsp; NULL back from your sum function. Hm, don't know why you get NULL (I assume you get NULL if you say null and not zero, right?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But back to my last post, have you tried something like&lt;/P&gt;&lt;P&gt;=sum(GP) / sum(Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[maybe with your set expression in each sum]?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is &lt;EM&gt;not &lt;/EM&gt;the same as sum(GP/Value), but I still assume that's probably what you want if (GP/Value) is some kind of share / percentage (like profit%).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 15:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/307001#M113427</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-29T15:35:35Z</dc:date>
    </item>
    <item>
      <title>set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/307002#M113428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a thought..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was having a very similar problem with calculating percentages. The solution to my problem was to un-select the Relative box for that column and the calculations worked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is probably not the solution to your problem but it might help someone "googling" for an answer to their problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 10:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-expression/m-p/307002#M113428</guid>
      <dc:creator />
      <dc:date>2011-09-02T10:55:57Z</dc:date>
    </item>
  </channel>
</rss>

