<?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 User defined function in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/User-defined-function-in-Set-Analysis/m-p/1067684#M524117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to combine the functionality of a user defined function in a Set Analysis;&lt;/P&gt;&lt;P&gt;- variable 'vFunction' defined as 'maxstring ({&amp;lt; SelectField = {$1} &amp;gt;} OutputField)' (-&amp;gt; no '=')&lt;/P&gt;&lt;P&gt;- Set analysis defined as 'avg( {&amp;lt; FilterField = ('$(&lt;SPAN style="font-size: 13.3333px;"&gt;vFunction(x) &amp;gt;} CalcField)' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this does not work. I suspect the problem is that the variable is not yet calculated, and therefore the whole function is passed on as a string instead of the outcome of the user defined function. I did some trial and error with double quotes or an '='; however without any success. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Koen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 08:44:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-08T08:44:39Z</dc:date>
    <item>
      <title>User defined function in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/User-defined-function-in-Set-Analysis/m-p/1067684#M524117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to combine the functionality of a user defined function in a Set Analysis;&lt;/P&gt;&lt;P&gt;- variable 'vFunction' defined as 'maxstring ({&amp;lt; SelectField = {$1} &amp;gt;} OutputField)' (-&amp;gt; no '=')&lt;/P&gt;&lt;P&gt;- Set analysis defined as 'avg( {&amp;lt; FilterField = ('$(&lt;SPAN style="font-size: 13.3333px;"&gt;vFunction(x) &amp;gt;} CalcField)' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this does not work. I suspect the problem is that the variable is not yet calculated, and therefore the whole function is passed on as a string instead of the outcome of the user defined function. I did some trial and error with double quotes or an '='; however without any success. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Koen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 08:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-defined-function-in-Set-Analysis/m-p/1067684#M524117</guid>
      <dc:creator />
      <dc:date>2016-02-08T08:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: User defined function in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/User-defined-function-in-Set-Analysis/m-p/1067685#M524118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You seem to be missing a parenthesis and a single quote and curly brackets. Is this a typo?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Avg( {&amp;lt; FilterField = &lt;STRONG&gt;{&lt;/STRONG&gt;'$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vFunction(x)&lt;STRONG&gt;)'}&lt;/STRONG&gt;&amp;gt;} CalcField)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 13:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-defined-function-in-Set-Analysis/m-p/1067685#M524118</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-08T13:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: User defined function in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/User-defined-function-in-Set-Analysis/m-p/1067686#M524119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. This is a typo while making the function anonymous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Verstuurd vanaf mijn iPhone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Op 8 feb. 2016 om 14:29 heeft Sunny T &amp;lt;qcwebmaster@qlikview.com&amp;gt; het volgende geschreven:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User defined function in Set Analysis&lt;/P&gt;&lt;P&gt;reply from Sunny T in QlikView Layout &amp;amp; Visualizations - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You seem to be missing a parenthesis and a single quote. Is this a typo?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg( {&amp;lt; FilterField = ('$(vFunction(x))' &amp;gt;} CalcField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply to this message by replying to this email, or go to the message on Qlik Community&lt;/P&gt;&lt;P&gt;Start a new discussion in QlikView Layout &amp;amp; Visualizations by email or at Qlik Community&lt;/P&gt;&lt;P&gt;Following User defined function in Set Analysis in these streams: Inbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;© 1993-2016 QlikTech International AB | Copyright &amp;amp; Trademarks | Privacy | Terms of Use | Software EULA&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 13:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-defined-function-in-Set-Analysis/m-p/1067686#M524119</guid>
      <dc:creator />
      <dc:date>2016-02-08T13:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: User defined function in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/User-defined-function-in-Set-Analysis/m-p/1067687#M524120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;You can write that condition in set itself&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;FilterField={ '$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;maxstring ({&amp;lt; SelectField = {$1} &amp;gt;} OutputField))'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;CalcField)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure the output of maxstring values are in sync with FilterField&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 13:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-defined-function-in-Set-Analysis/m-p/1067687#M524120</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-02-08T13:37:15Z</dc:date>
    </item>
  </channel>
</rss>

