<?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 Using variables within set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-variables-within-set-analysis/m-p/167616#M39128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The first thing to try is to put the closing angle bracket in the right place:&lt;/P&gt;&lt;P&gt;Sum ({$&amp;lt;[Child Bskt Id]=,[Child Bskt Nm]=,$(vTestgroup)&amp;gt;} [Parent Rev])&lt;/P&gt;&lt;P&gt;If that still does not work, then I suggest you provide more information about what the variable vTestGroup contains. Looking at your example in the post, it looks like vTestGroup contains angle brackets. Remove them and try the expression above.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;BR /&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Mar 2011 05:54:50 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2011-03-18T05:54:50Z</dc:date>
    <item>
      <title>Using variables within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-within-set-analysis/m-p/167615#M39127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We currently use set analysis to de-select the values on a number of fields. Ex: Sum ({$&amp;lt;[Child Bskt Id]=,[Child Bskt Nm]=&amp;gt;} [Parent Rev]). We also need to force a selection on another field dynamically using a variable. The formula for this would be: Sum ({$(vTestgroup)} [Parent Rev]). We need to figure out a way to combine both formulas into one. We've tried multiple variations of this formula - such as: Sum ({$&amp;lt;[Child Bskt Id]=,[Child Bskt Nm]=&amp;gt;,$(vTestgroup)} [Parent Rev]). Nothing we have tried has worked. Any help on this would be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 02:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-within-set-analysis/m-p/167615#M39127</guid>
      <dc:creator />
      <dc:date>2011-03-18T02:26:40Z</dc:date>
    </item>
    <item>
      <title>Using variables within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-within-set-analysis/m-p/167616#M39128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The first thing to try is to put the closing angle bracket in the right place:&lt;/P&gt;&lt;P&gt;Sum ({$&amp;lt;[Child Bskt Id]=,[Child Bskt Nm]=,$(vTestgroup)&amp;gt;} [Parent Rev])&lt;/P&gt;&lt;P&gt;If that still does not work, then I suggest you provide more information about what the variable vTestGroup contains. Looking at your example in the post, it looks like vTestGroup contains angle brackets. Remove them and try the expression above.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;BR /&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 05:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-within-set-analysis/m-p/167616#M39128</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-03-18T05:54:50Z</dc:date>
    </item>
    <item>
      <title>Using variables within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-within-set-analysis/m-p/167617#M39129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for helping us out with this, Jonathan. Moving the angle bracket didn't work either and was actually just a mistake on my part in the post. The variable vTestgroup is actually keyed off of a bookmark. vTestgroup = BM19. BM19 is set using an action button - the end result is always a series of selections on a single field [Location].&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Travis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 12:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-within-set-analysis/m-p/167617#M39129</guid>
      <dc:creator />
      <dc:date>2011-03-18T12:17:22Z</dc:date>
    </item>
    <item>
      <title>Using variables within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-within-set-analysis/m-p/167618#M39130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Travis&lt;/P&gt;&lt;P&gt;To use a bookmark, it goes in the place of the $ sysmbol:&lt;/P&gt;&lt;P&gt;Sum ({BM19&amp;lt;[Child Bskt Id]=,[Child Bskt Nm]=&amp;gt;} [Parent Rev])&lt;/P&gt;&lt;P&gt;So if vTestGroup = BM19, should be:&lt;/P&gt;&lt;P&gt;Sum ({$(vTestGroup)&amp;lt;[Child Bskt Id]=,[Child Bskt Nm]=&amp;gt;} [Parent Rev])&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 12:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-within-set-analysis/m-p/167618#M39130</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-03-18T12:29:03Z</dc:date>
    </item>
    <item>
      <title>Using variables within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-within-set-analysis/m-p/167619#M39131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Travis, that isn't working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a simple &lt;EM&gt;Concat ({$(vBookmark)} field_name)&lt;/EM&gt; and it doesn't return anything. If I replace&lt;EM&gt; $(vBookmark)&lt;/EM&gt; by the bookmark name then it works fine.&lt;/P&gt;&lt;P&gt;Is there something wrong with the syntax or is it just not possible to use bookmarks inside variables?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Telmo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 15:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-within-set-analysis/m-p/167619#M39131</guid>
      <dc:creator>tduarte</dc:creator>
      <dc:date>2011-07-08T15:44:18Z</dc:date>
    </item>
  </channel>
</rss>

