<?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 Variable With Hard Coded Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-With-Hard-Coded-Values/m-p/133832#M20084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a set analysis Expression as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUm({&amp;lt;Product={'A','B','C'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;I would like to place the A,B, C in a variable so in future if the requirements change then&amp;nbsp; we can change the variable value and won't have to edit every single expression . &lt;/P&gt;&lt;P&gt;I created a variable vProduct as "A"CHR(44)&lt;SPAN style="font-size: 13.3333px;"&gt;"B"CHR(44)&lt;SPAN style="font-size: 13.3333px;"&gt;"C"CHR(44). Its not working .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can someone help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2018 16:22:52 GMT</pubDate>
    <dc:creator>azmeerrehan</dc:creator>
    <dc:date>2018-09-17T16:22:52Z</dc:date>
    <item>
      <title>Variable With Hard Coded Values</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-With-Hard-Coded-Values/m-p/133832#M20084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a set analysis Expression as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUm({&amp;lt;Product={'A','B','C'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;I would like to place the A,B, C in a variable so in future if the requirements change then&amp;nbsp; we can change the variable value and won't have to edit every single expression . &lt;/P&gt;&lt;P&gt;I created a variable vProduct as "A"CHR(44)&lt;SPAN style="font-size: 13.3333px;"&gt;"B"CHR(44)&lt;SPAN style="font-size: 13.3333px;"&gt;"C"CHR(44). Its not working .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can someone help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 16:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-With-Hard-Coded-Values/m-p/133832#M20084</guid>
      <dc:creator>azmeerrehan</dc:creator>
      <dc:date>2018-09-17T16:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Variable With Hard Coded Values</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-With-Hard-Coded-Values/m-p/133833#M20085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be in your variable store like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vProduct = 'A','B','C'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your expr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Sum({&amp;lt;Product = {$(vProduct)} &amp;gt;} sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 16:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-With-Hard-Coded-Values/m-p/133833#M20085</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-09-17T16:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variable With Hard Coded Values</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-With-Hard-Coded-Values/m-p/133834#M20086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;vProduct=chr(39)&amp;amp;'A'&amp;amp;chr(39)&amp;amp;chr(44)&amp;amp;' '&amp;amp;chr(39)&amp;amp;'B'&amp;amp;chr(39)&amp;amp;chr(44)&amp;amp;' '&amp;amp;chr(39)&amp;amp;'C'&amp;amp;chr(39)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 17:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-With-Hard-Coded-Values/m-p/133834#M20086</guid>
      <dc:creator>captain89</dc:creator>
      <dc:date>2018-09-17T17:12:38Z</dc:date>
    </item>
  </channel>
</rss>

