<?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: UDF with parameters. Parameter with multiple values issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/UDF-with-parameters-Parameter-with-multiple-values-issue/m-p/1187213#M384007</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although there might be a better way to do this, but the issue I am running into is the use of comma. As soon as we put a comma in there the parametrized variable stops before the comma and look for stuff after that. The way I am going to propose might look ugly, but it seems to be working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set_exp_months = [Month]={'Jan'}&amp;gt;+&amp;lt;Month = {'Feb'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137955_Capture.PNG" style="height: 133px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2016 23:34:52 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-09-19T23:34:52Z</dc:date>
    <item>
      <title>UDF with parameters. Parameter with multiple values issue</title>
      <link>https://community.qlik.com/t5/QlikView/UDF-with-parameters-Parameter-with-multiple-values-issue/m-p/1187212#M384006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to pass paremeter in my UDF, where parameter is a set analysis with multiple values.&lt;/P&gt;&lt;P&gt;The problem is that everything works in case with single value (see below) and fails when multiple values passed.&lt;/P&gt;&lt;P&gt;I do realize that QV is evaluating it and recognizes comma and then fails... but I can't come up with the way to handle it. What's would be the most elegant way to go around this? I'm sure some of you have thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a very simple example, but shows what I'm after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, [ABC] is a dummy field, which tricks QV and enables me to pass parameter right into {&amp;lt;&amp;gt;}. It was quite a surprising discovery, have not seen it in the web yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="137837" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137837_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refs:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikfix.com/2011/09/21/storing-variables-outside-of-qlikview/" title="http://www.qlikfix.com/2011/09/21/storing-variables-outside-of-qlikview/"&gt;Storing variables outside of QlikView - The Qlik Fix! The Qlik Fix!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/118528" title="https://community.qlikview.com/thread/118528"&gt;Set analysis in external txt file | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikviewaddict.com/2015/02/populate-qlikview-variables-from.html" title="http://www.qlikviewaddict.com/2015/02/populate-qlikview-variables-from.html"&gt;QlikView Addict: Populate QlikView variables from an external file&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 03:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/UDF-with-parameters-Parameter-with-multiple-values-issue/m-p/1187212#M384006</guid>
      <dc:creator />
      <dc:date>2016-09-19T03:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: UDF with parameters. Parameter with multiple values issue</title>
      <link>https://community.qlik.com/t5/QlikView/UDF-with-parameters-Parameter-with-multiple-values-issue/m-p/1187213#M384007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although there might be a better way to do this, but the issue I am running into is the use of comma. As soon as we put a comma in there the parametrized variable stops before the comma and look for stuff after that. The way I am going to propose might look ugly, but it seems to be working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set_exp_months = [Month]={'Jan'}&amp;gt;+&amp;lt;Month = {'Feb'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137955_Capture.PNG" style="height: 133px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 23:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/UDF-with-parameters-Parameter-with-multiple-values-issue/m-p/1187213#M384007</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-19T23:34:52Z</dc:date>
    </item>
  </channel>
</rss>

