<?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 variables in set expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-variables-in-set-expressions/m-p/955760#M953575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure how you want the end to look, but you fill any parts of an expression using variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: blue;"&gt;$(vFunction)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;Applicant&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;[SANOFI AVENTIS]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;, GLAXOSMITHKLINE, PFIZER, NOVARTIS, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;[PLUS FIVE]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;[NOVO NORDISK]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;, RANBAXY, IPCA, ALCON, GLENMARK, MYLAN, VARICHEM, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;[CIPLA]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;, ALLERGAN}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;$v(FunctionField)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Nov 2015 00:54:10 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2015-11-21T00:54:10Z</dc:date>
    <item>
      <title>Using variables in set expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-set-expressions/m-p/955757#M953572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: maroon;"&gt;Applicant&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: maroon;"&gt;[SANOFI AVENTIS]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;, GLAXOSMITHKLINE, PFIZER, NOVARTIS, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: maroon;"&gt;[PLUS FIVE]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: maroon;"&gt;[NOVO NORDISK]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;, RANBAXY, IPCA, ALCON, GLENMARK, MYLAN, VARICHEM, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: maroon;"&gt;[CIPLA]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;, ALLERGAN}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;I want to replace&amp;nbsp; Sum(Amount) with a variable vSetTotalAmount&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;How can the above expression be changed to accommodate the variable?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;Regards.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 22:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-set-expressions/m-p/955757#M953572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-20T22:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using variables in set expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-set-expressions/m-p/955758#M953573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I know, this is not doable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 23:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-set-expressions/m-p/955758#M953573</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-20T23:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using variables in set expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-set-expressions/m-p/955759#M953574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 23:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-set-expressions/m-p/955759#M953574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-20T23:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using variables in set expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-set-expressions/m-p/955760#M953575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure how you want the end to look, but you fill any parts of an expression using variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: blue;"&gt;$(vFunction)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;Applicant&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;[SANOFI AVENTIS]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;, GLAXOSMITHKLINE, PFIZER, NOVARTIS, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;[PLUS FIVE]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;[NOVO NORDISK]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;, RANBAXY, IPCA, ALCON, GLENMARK, MYLAN, VARICHEM, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;[CIPLA]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;, ALLERGAN}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;$v(FunctionField)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Nov 2015 00:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-set-expressions/m-p/955760#M953575</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-11-21T00:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using variables in set expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-set-expressions/m-p/955761#M953576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Rob, i will look into that as recommended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 09:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-set-expressions/m-p/955761#M953576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T09:29:23Z</dc:date>
    </item>
  </channel>
</rss>

