<?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 expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-in-expression/m-p/599180#M221843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind.Got it.&lt;/P&gt;&lt;P&gt;count({&amp;lt;P_Name={$(vZTerritory)}&amp;gt;}DISTINCT PRIOR_DATA)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2014 10:49:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-18T10:49:03Z</dc:date>
    <item>
      <title>Variables in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-expression/m-p/599178#M221841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm going to use variable for my Field values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;P_Name='Z_Territory'}&amp;gt;}DISTINCT PRIOR_DATA) this expression works fine. I want to use Variable for the values like 'Z_Territory'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;P_Name="vZTerritory"}&amp;gt;}DISTINCT PRIOR_DATA) but this is not giving correct result.I'm doing some silly mistake here.???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-expression/m-p/599178#M221841</guid>
      <dc:creator />
      <dc:date>2014-02-18T10:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-expression/m-p/599179#M221842</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 only thing you have to do is change the expresion , and of course create the variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exmple:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;P_Name=$(VARIABLE)}&amp;gt;}DISTINCT PRIOR_DATA) this expression works fine. I want to use Variable for the values like 'Z_Territory'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to obtain the value of the variable you have to put in $(variable), not " "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-expression/m-p/599179#M221842</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2014-02-18T10:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-in-expression/m-p/599180#M221843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind.Got it.&lt;/P&gt;&lt;P&gt;count({&amp;lt;P_Name={$(vZTerritory)}&amp;gt;}DISTINCT PRIOR_DATA)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-in-expression/m-p/599180#M221843</guid>
      <dc:creator />
      <dc:date>2014-02-18T10:49:03Z</dc:date>
    </item>
  </channel>
</rss>

