<?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 a String Variable with Set Expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-a-String-Variable-with-Set-Expressions/m-p/410652#M485887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAn't get this to work.&amp;nbsp; Result is always nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Varx ="ACME INC";&lt;/P&gt;&lt;P&gt;=If (Count ( {$&amp;lt;[Install Site GU Company Name]={'$(Varx)'}&amp;gt;} [Serial Number])&amp;gt;0, Count ( {$&amp;lt;[Install Site GU Company Name]={'$(Varx)'}&amp;gt;} [Serial Number]))&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, 01 Apr 2013 15:15:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-01T15:15:30Z</dc:date>
    <item>
      <title>Using a String Variable with Set Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-String-Variable-with-Set-Expressions/m-p/410652#M485887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAn't get this to work.&amp;nbsp; Result is always nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Varx ="ACME INC";&lt;/P&gt;&lt;P&gt;=If (Count ( {$&amp;lt;[Install Site GU Company Name]={'$(Varx)'}&amp;gt;} [Serial Number])&amp;gt;0, Count ( {$&amp;lt;[Install Site GU Company Name]={'$(Varx)'}&amp;gt;} [Serial Number]))&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, 01 Apr 2013 15:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-String-Variable-with-Set-Expressions/m-p/410652#M485887</guid>
      <dc:creator />
      <dc:date>2013-04-01T15:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using a String Variable with Set Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-String-Variable-with-Set-Expressions/m-p/410653#M485888</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;This expression is working, seems it is similar to yours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Varx = 'a';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression = Sum({&amp;lt;[Student id]={'$(Varx)'}&amp;gt;} Mark1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the dimensions you are using?&amp;nbsp; Can you attach sample file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA, hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 15:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-String-Variable-with-Set-Expressions/m-p/410653#M485888</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-04-01T15:45:25Z</dc:date>
    </item>
  </channel>
</rss>

