<?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: Variables in set analysis syntax (again!) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1515794#M749915</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;If(Only({&amp;lt;PGR = {"$(=TUE_P_PGR)"}&amp;gt;} PGR) &amp;gt; 0,
Sum({&amp;lt;BRANCH = {86,96}&amp;gt;} REQ)&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;If(Only({&amp;lt;PGR = {"$(=$(TUE_P_PGR))"}&amp;gt;} PGR) &amp;gt; 0,
Sum({&amp;lt;BRANCH = {86,96}&amp;gt;} REQ)&lt;/PRE&gt;</description>
    <pubDate>Mon, 03 Dec 2018 17:39:19 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-12-03T17:39:19Z</dc:date>
    <item>
      <title>Variables in set analysis syntax (again!)</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1515790#M749914</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using set analysis with a variable but cannot get the syntax to&amp;nbsp;work - being trying on and off for days !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The variable&amp;nbsp;TUE_P_PGR has the value (54,999,51).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works fine...&lt;/P&gt;&lt;P&gt;if(&lt;BR /&gt;(only( {&amp;lt;PGR={54,999,51}&amp;gt;} PGR ))&amp;gt;0 ,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;BRANCH={86,96}&amp;gt;} REQ)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but this doesn't below and I cant find any combo of '$({" that seems to produce the same result..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(&lt;BR /&gt;(only( {&amp;lt;PGR={$(=(TUE_P_PGR))}&amp;gt;} PGR ))&amp;gt;0 ,&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt;BRANCH={86,96}&amp;gt;} REQ)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas appreciated please &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; !!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1515790#M749914</guid>
      <dc:creator>bobpants</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in set analysis syntax (again!)</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1515794#M749915</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;If(Only({&amp;lt;PGR = {"$(=TUE_P_PGR)"}&amp;gt;} PGR) &amp;gt; 0,
Sum({&amp;lt;BRANCH = {86,96}&amp;gt;} REQ)&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;If(Only({&amp;lt;PGR = {"$(=$(TUE_P_PGR))"}&amp;gt;} PGR) &amp;gt; 0,
Sum({&amp;lt;BRANCH = {86,96}&amp;gt;} REQ)&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Dec 2018 17:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1515794#M749915</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-03T17:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in set analysis syntax (again!)</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1515887#M749916</link>
      <description>&lt;PRE&gt;The below can also work&lt;BR /&gt;&lt;BR /&gt;If(Only({$&amp;lt;PGR = {'$(TUE_P_PGR)'} &amp;gt;} PGR) &amp;gt; 0,
Sum({&amp;lt;BRANCH = {86,96}&amp;gt;} REQ)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 22:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1515887#M749916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-03T22:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in set analysis syntax (again!)</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1516132#M749917</link>
      <description>&lt;P&gt;Hi Both,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your input but neither worked I am afraid. Any other thoughts please ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 11:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1516132#M749917</guid>
      <dc:creator>bobpants</dc:creator>
      <dc:date>2018-12-04T11:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in set analysis syntax (again!)</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1516146#M749918</link>
      <description>Is 54,999,51 a single value or is this three different values 54, 999, &amp;amp; 51?</description>
      <pubDate>Tue, 04 Dec 2018 11:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1516146#M749918</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-04T11:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in set analysis syntax (again!)</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1516153#M749919</link>
      <description>&lt;P&gt;Aha - this finally worked below - thank you for your help though it gave me some ideas !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If(Only({$&amp;lt;PGR = {$(=TUE_P_PGR)} &amp;gt;} PGR) &amp;gt; 0,&lt;BR /&gt;Sum({&amp;lt;BRANCH = {86,96}&amp;gt;} REQ))&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 12:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-set-analysis-syntax-again/m-p/1516153#M749919</guid>
      <dc:creator>bobpants</dc:creator>
      <dc:date>2018-12-04T12:06:46Z</dc:date>
    </item>
  </channel>
</rss>

