<?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: Variable with Concat into Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762434#M271088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use double quotes here:&lt;/P&gt;&lt;P&gt;= {"$(=$(vTest))"}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2015 14:57:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-20T14:57:23Z</dc:date>
    <item>
      <title>Variable with Concat into Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762431#M271085</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;I've a variable called vTest = Concat(DISTINCT {$&amp;lt;FlagCY={1},M.FECHA={"&amp;gt;=$(#desde)&amp;lt;=$(#hasta)"},M.NIVEL1 ={'01'},M.RESPUESTA ={'Si'},M.MARCA = p(MARCALEVADURA_T)&amp;gt;} ID_SITIO,',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This vTest output is 15073,15074&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just created another var called vTest2 = '15073,15074'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i've a chart witt the followings expresion : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;ID_SITIO = {'$(=$(vTest))'},M.MARCA = p(MARCALEVADURA2_T)&amp;gt;} CANTIDADLEVADURA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;ID_SITIO = {'$(=$(vTest2))'},M.MARCA = p(MARCALEVADURA2_T)&amp;gt;} CANTIDADLEVADURA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An its&amp;nbsp; not working with neither both options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ihardcode this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;ID_SITIO = {'15073,15074'},M.MARCA = p(MARCALEVADURA2_T)&amp;gt;} CANTIDADLEVADURA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Albert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 14:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762431#M271085</guid>
      <dc:creator />
      <dc:date>2015-02-20T14:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with Concat into Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762432#M271086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hardcoded expresion should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;ID_SITIO = {15073,15074},M.MARCA = p(MARCALEVADURA2_T)&amp;gt;} CANTIDADLEVADURA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WITHOUT SIMPLE QUOTES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 14:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762432#M271086</guid>
      <dc:creator />
      <dc:date>2015-02-20T14:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with Concat into Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762433#M271087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It happens sometime and annoying to find out the real reason. Most of the time problems lie with quotes, Dollar sign, or equal to sign. Could you please try once removing = sign from the variables where you created that. If it is there then try by removing it. It's not a solution just some random trial. If u share with your app, I could try help you more efficiently.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 14:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762433#M271087</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-20T14:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with Concat into Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762434#M271088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use double quotes here:&lt;/P&gt;&lt;P&gt;= {"$(=$(vTest))"}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 14:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762434#M271088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-20T14:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with Concat into Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762435#M271089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, from the description it is not clear if there is '=' sign in the variable definition.&amp;nbsp; Very possible it maybe a reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762435#M271089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-20T15:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with Concat into Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762436#M271090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The varible is defined without the equalbefore Concat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762436#M271090</guid>
      <dc:creator />
      <dc:date>2015-02-20T15:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with Concat into Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762437#M271091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when vTest returns just one element, the expresion is working fine, if returns more than one, fails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762437#M271091</guid>
      <dc:creator />
      <dc:date>2015-02-20T15:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with Concat into Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762438#M271092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It helps.&amp;nbsp; See if the hardcoded this way works (each value in single quotes)&lt;/P&gt;&lt;P&gt;{'15073','15074'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it works, modify your variable to enclose each value in the single quotes.&amp;nbsp; Again, I recommend to use double quotes as in my earlier post.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762438#M271092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-20T15:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with Concat into Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762439#M271093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem Solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was that concat was returning the list of values, without quotes in the numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've use : ' "," ' as concat separator, in order to have the list of values separated by commas and surronded with quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Albert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-with-Concat-into-Set-Analysis/m-p/762439#M271093</guid>
      <dc:creator />
      <dc:date>2015-02-20T15:30:58Z</dc:date>
    </item>
  </channel>
</rss>

