<?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 Re: Using set analysis in conjunction with variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-set-analysis-in-conjunction-with-variable/m-p/1843249#M69788</link>
    <description>&lt;P&gt;May be achieved using parameter in the variable -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Variable 1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Name - v.Amount&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Value -&amp;nbsp;-1*Sum( $1 Amount)/1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Variable 2 - vsetExp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Value -&amp;nbsp;{&amp;lt;ProductType = {'Budget'}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Expression in text box I tested -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$(v.Amount($(vsetExp)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It shows -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Digvijay_Singh_0-1633563244609.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/63596iBADD824A8769C91A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Digvijay_Singh_0-1633563244609.png" alt="Digvijay_Singh_0-1633563244609.png" /&gt;&lt;/span&gt;&amp;nbsp;in expression editor&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 23:34:28 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2021-10-06T23:34:28Z</dc:date>
    <item>
      <title>Using set analysis in conjunction with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Using-set-analysis-in-conjunction-with-variable/m-p/1843213#M69787</link>
      <description>&lt;P&gt;I've got some measures which are quickly getting unwieldy and I'd like to start using variables instead, however I've got some questions about using set expressions.&lt;/P&gt;&lt;P&gt;I have variable v.Amount which is very straightforward, -1*Sum( Amount)/1000&lt;/P&gt;&lt;P&gt;Is it possible to add set analysis and a variable in conjunction? What I mean is that I would like to be able to have&lt;/P&gt;&lt;P&gt;v.Amount for&amp;nbsp;&amp;lt;ProductType = {'Budget'}&amp;gt;}, rather than typing&amp;nbsp;-1*Sum({&amp;lt;ProductType = {'Budget'}&amp;gt;} Amount)/1000.&lt;/P&gt;&lt;P&gt;Using dropdowns isn't appropriate because there's instances of&amp;nbsp;{&amp;lt;ProductType = {'Actual'}&amp;gt;}&amp;nbsp; and&amp;nbsp;{&amp;lt;ProductType = {'Forecast'}&amp;gt;}&amp;nbsp; appearing on the same sheet&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 22:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-set-analysis-in-conjunction-with-variable/m-p/1843213#M69787</guid>
      <dc:creator>GrantBooth</dc:creator>
      <dc:date>2021-10-06T22:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis in conjunction with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Using-set-analysis-in-conjunction-with-variable/m-p/1843249#M69788</link>
      <description>&lt;P&gt;May be achieved using parameter in the variable -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Variable 1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Name - v.Amount&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Value -&amp;nbsp;-1*Sum( $1 Amount)/1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Variable 2 - vsetExp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Value -&amp;nbsp;{&amp;lt;ProductType = {'Budget'}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Expression in text box I tested -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$(v.Amount($(vsetExp)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It shows -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Digvijay_Singh_0-1633563244609.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/63596iBADD824A8769C91A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Digvijay_Singh_0-1633563244609.png" alt="Digvijay_Singh_0-1633563244609.png" /&gt;&lt;/span&gt;&amp;nbsp;in expression editor&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 23:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-set-analysis-in-conjunction-with-variable/m-p/1843249#M69788</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2021-10-06T23:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis in conjunction with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Using-set-analysis-in-conjunction-with-variable/m-p/1844625#M69891</link>
      <description>&lt;P&gt;Not able to get this one to work, the expression&amp;nbsp;&lt;SPAN&gt;-1*Sum( $1 Amount)/1000 creates a error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 04:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-set-analysis-in-conjunction-with-variable/m-p/1844625#M69891</guid>
      <dc:creator>GrantBooth</dc:creator>
      <dc:date>2021-10-11T04:15:23Z</dc:date>
    </item>
  </channel>
</rss>

