<?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 with variables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253083#M25311</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;I have a couple of variables, each having the same sort of structure - which is summing stuff together. e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMarketableWeight = (SUM[field A] + SUM[field B] + SUM[field C] etc....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These work fine when called from within a visualization with $(vMarketableWeight).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've hit a snag using these with set analysis. The syntax I want to use is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarketableOrOutsize = "",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket] = ""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vMarketableWeight)/($(vMarketableWeight) + $(vOutsizeWeight))* 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This bit: $(vMarketableWeight)/($(vMarketableWeight) + $(vOutsizeWeight))* 100 works fine on its own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing it's something to do with sums of sums - or evaluation precedence....but my knowledge is limited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to change the structure of my variables as they're well used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Nov 2024 10:12:26 GMT</pubDate>
    <dc:creator>jag7777777</dc:creator>
    <dc:date>2024-11-16T10:12:26Z</dc:date>
    <item>
      <title>Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253083#M25311</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;I have a couple of variables, each having the same sort of structure - which is summing stuff together. e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMarketableWeight = (SUM[field A] + SUM[field B] + SUM[field C] etc....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These work fine when called from within a visualization with $(vMarketableWeight).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've hit a snag using these with set analysis. The syntax I want to use is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarketableOrOutsize = "",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket] = ""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vMarketableWeight)/($(vMarketableWeight) + $(vOutsizeWeight))* 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This bit: $(vMarketableWeight)/($(vMarketableWeight) + $(vOutsizeWeight))* 100 works fine on its own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing it's something to do with sums of sums - or evaluation precedence....but my knowledge is limited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to change the structure of my variables as they're well used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253083#M25311</guid>
      <dc:creator>jag7777777</dc:creator>
      <dc:date>2024-11-16T10:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253084#M25312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you got missing bracket, maybe try something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;EM&gt;SUM({$&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarketableOrOutsize = "",&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket] = ""&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;EM&gt;&amp;nbsp; &lt;STRONG style=": ; color: #ff0000; font-size: 12pt;"&gt; (&lt;/STRONG&gt;$(vMarketableWeight)/($(vMarketableWeight) + $(vOutsizeWeight))* 100&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Also when you do &lt;EM style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vMarketableWeight)/($(vMarketableWeight) &lt;/EM&gt;you are dividing &lt;EM style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vMarketableWeight)&lt;/EM&gt;&lt;/EM&gt; by itself and that will always return one - maybe a typo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 11:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253084#M25312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-13T11:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253085#M25313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression in your variable contains aggregations: SUM(....). You then put an aggregation function into another aggregation: SUM(SUM(...)). That's nonsense unless you specify over which dimensions the inner sums should be aggregated. You need to use the aggr function to do that: SUM( AGGR( SUM(....) , DimA, DimB, ..., DimX)). See this document for more information: &lt;A href="https://community.qlik.com/docs/DOC-3857"&gt;QlikView Technical Brief - AGGR.docx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 11:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253085#M25313</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-13T11:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253086#M25314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no inner dimensions? Like I've mentioned, the calculation works fine on its own - and with any selections made on any sheets.&lt;/P&gt;&lt;P&gt;I get that it's the sum or sum that's the problem....but not sure why I need to use the AGGR function to fix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 11:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253086#M25314</guid>
      <dc:creator>jag7777777</dc:creator>
      <dc:date>2016-12-13T11:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253087#M25315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cheers for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calc works fine on its own. It's only when there's set analysis it doesn't work...which is due to the sum or sum problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brackets are OK (I've tested without the set analysis) - and the internal brackets means it doesn't divide by itself as it forces the addition first (the underlined bit) - it probably seems backward the way it's laid out, but it's necessary as the outsize and marketable weights are built up of many size bands...all of which are valid in their own right (so have to be sums when the user makes multiple record selections), but all off which only ever belong to one set - Marketable or Outsize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm 99% sure it's the SUM at the beginning of the set analysis that's the problem....just don't know how to fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$(vMarketableWeight)/(&lt;SPAN style="text-decoration: underline;"&gt;$(vMarketableWeight) + $(vOutsizeWeight)&lt;/SPAN&gt;)* 100&lt;/EM&gt;&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>Tue, 13 Dec 2016 11:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253087#M25315</guid>
      <dc:creator>jag7777777</dc:creator>
      <dc:date>2016-12-13T11:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253088#M25316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you do something like sum( sum(100) ). Which makes no sense and is not correct as far as Qlikview is concerned. Which is why you get an error. Use the aggr function if you nest aggregation functions. Or don't and figure it out yourself &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Perhaps this is what you're after: $(vMarketableWeight)/($(vMarketableWeight) + $(vOutsizeWeight))* 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps this helps: &lt;A href="https://community.qlik.com/qlik-blogpost/3235"&gt;It’s all Aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253088#M25316</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-13T12:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253089#M25317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your Expression should be as below,the entire thing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM({$&amp;lt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarketableOrOutsize = "",&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket] = ""&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vMarketableWeight) )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM({$&amp;lt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarketableOrOutsize = "",&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket] = ""&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vMarketableWeight) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;+&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM({$&amp;lt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarketableOrOutsize = "",&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket] = ""&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vOutsizeWeight&lt;/SPAN&gt;) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253089#M25317</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-13T12:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253090#M25318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - no worries. Thanks for your help anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253090#M25318</guid>
      <dc:creator>jag7777777</dc:creator>
      <dc:date>2016-12-13T12:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253091#M25319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers Vineeth. I tried that one too - but no luck! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it's the SUM or SUMS that's the problem as my variables already contain summing.....so am guessing that's why this doesn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253091#M25319</guid>
      <dc:creator>jag7777777</dc:creator>
      <dc:date>2016-12-13T12:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253092#M25320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the exact expression you used? want to make sure we are not&amp;nbsp; missing curly brackets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;SUM({$&amp;lt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarketableOrOutsize = &lt;STRONG&gt;{'VALUE'}&lt;/STRONG&gt;,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket] =&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{''}&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vMarketableWeight) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;SUM({$&amp;lt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp; MarketableOrOutsize = &lt;STRONG&gt;{'VALUE'}&lt;/STRONG&gt;,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket] =&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{''}&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;$(vMarketableWeight) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;+&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;SUM({$&amp;lt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp; MarketableOrOutsize = &lt;STRONG&gt;{'VALUE'}&lt;/STRONG&gt;,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket] =&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{''}&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;$(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;vOutsizeWeight&lt;/SPAN&gt;) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 15:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253092#M25320</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-13T15:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253093#M25321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vineeth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I misled a bit (sorry) I was trying to empty the two set modifiers (and forgot the syntax! - no swirly brackets or quotes required!!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still doesn't work - but this is effectively what I'm trying to do (but with the parts separated as you've suggested):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarketableOrOutsize =,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket] =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vMarketableWeight)&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MarketableOrOutsize =,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket] =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} $(vMarketableWeight) )&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MarketableOrOutsize =,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Size Bucket]=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} $(vOutsizeWeight) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still pretty sure its the whole SUM or SUM thing that's the problem (i.e. each of the three variables are pretty much the same - i.e. SUM[field a] + SUM[field b] + SUM[field c] etc..&lt;/P&gt;&lt;P&gt;It's done like this because we're able to choose these fields in filter visualisations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 16:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253093#M25321</guid>
      <dc:creator>jag7777777</dc:creator>
      <dc:date>2016-12-13T16:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253094#M25322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh k, instead or Sum() + sum()&lt;/P&gt;&lt;P&gt;try Rangesum(field1,field2...etc)&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the first scenario if any value is null the whole expression becomes null, whereeas rangesum() will adjust for 0's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 16:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253094#M25322</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-13T16:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253095#M25323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload a sample to look at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 16:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-variables/m-p/1253095#M25323</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-13T16:07:10Z</dc:date>
    </item>
  </channel>
</rss>

