<?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: User Defined Function (UDF) using Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196960#M56810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried both the way it is not working..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anoop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2013 10:54:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-14T10:54:02Z</dc:date>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196942#M56792</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;I am trying to use a UDF to calculate the % diff between two variables. And I wanted to create a UDF which acts as expression and accepts two input variables. I had written the same function in Excel VBA for your understanding.&lt;/P&gt;&lt;P&gt;Public Function PercentageDiff(vThisYear As Integer, vPreviousYear As Integer)&lt;BR /&gt; PercentageDiff = (ThisYear / PreviousYear) * 100 - 100&lt;BR /&gt;End Function&lt;/P&gt;&lt;P&gt;Please help on this one. Thanks in anticipation.&lt;/P&gt;&lt;P&gt;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 09:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196942#M56792</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-04T09:58:17Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196943#M56793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;If This Year &amp;amp; Previous Year are expressions defined in your object, why don't you just use the labels to calculate the dim on the third expression. You could also use inter-record functions (top()/above() or first()/previous() depending on if inter-column or inter-row, respectively) or am I just talking nonsense.&lt;/P&gt;&lt;P&gt;Can you give more info on the structure of your object, expressions and DB table if necessary?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 10:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196943#M56793</guid>
      <dc:creator />
      <dc:date>2011-04-04T10:10:29Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196944#M56794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cheenu,&lt;/P&gt;&lt;P&gt;Happy to see your reply on my post. I am sorry, I don't have understanding about inter-record functions. Probably I need to be more clear on my request. Let me try to rephrase the question...&lt;/P&gt;&lt;P&gt;I have Speedometer (Guage Chart) showing Current Year Score vs Previous Year Score. I am using needle to show the current year score and using the Segment 2 to show the previous year score in different color. And now I wanted to show Percentage difference these 2 values. I could directly use the variables to calculate the percentage difference. However, I need to calculate the same for multiple charts, so I thought it would be easy to use UDF.&lt;/P&gt;&lt;P&gt;I am also attaching the image of the chart with fictitious data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope this makes sense...&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;DV&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/7485.Image.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/7485.Image.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 10:20:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196944#M56794</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-04T10:20:55Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196945#M56795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;If you want to re-use the % diff, is there something preventing you from defining This Year and Last Year in 2 separate vars and then creating a 3rd var based on these 2 vars with number formatting, i.e.&lt;/P&gt;&lt;P&gt;var1 = sum({$&amp;lt;Year={$(=max(Year))}&amp;gt;} Sales), front-end you call for =$(=var1).&lt;/P&gt;&lt;P&gt;var2 = sum({$&amp;lt;Year={$(=max(Year)-1)}&amp;gt;} Sales), front-end you call for =$(=var2).&lt;/P&gt;&lt;P&gt;var3 = num(($(=var1)-$(=var2))/$(=var2), '##.## %') , front-end you call for =$(=var3).&lt;/P&gt;&lt;P&gt;Does this work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 11:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196945#M56795</guid>
      <dc:creator />
      <dc:date>2011-04-04T11:12:37Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196946#M56796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheenu - Thats exactly the same I am doing now. However the calculation behind the var1 is almost 3 lines long based on few conditions and same is the case with Var2.And I have these Var1 and Var2 changing for each product / Sales person. So it is becoming labourous process while calculating the percentage difference.&lt;/P&gt;&lt;P&gt;I can still use these expressions to get the percentage difference but it is not readable at all. I thought it would be simpler to define an UDF which accepts Var1 &amp;amp; Var2 and giving the output as Percentage difference. Assuming that If I can use the UDF my expression would be simple...&lt;/P&gt;&lt;P&gt;=fPercentageDiff (Var1, Var2)&lt;/P&gt;&lt;P&gt;instead of 5-6 lines long and very difficult to read.&lt;/P&gt;&lt;P&gt;I'll look forward to hear your suggestions.&lt;/P&gt;&lt;P&gt;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 11:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196946#M56796</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-04T11:22:02Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196947#M56797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheenu / Others - Any help on this one is much appreciated. Thanks in advance.&lt;/P&gt;&lt;P&gt;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 14:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196947#M56797</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-04T14:17:05Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196948#M56798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel/ Ashfaq/ Rocky/ Iassen/ Sunil/ SriVidhya/ John - Please help on this one...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 15:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196948#M56798</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-04T15:38:11Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196949#M56799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this help?: &lt;A href="http://qlikviewmaven.blogspot.com/2011/04/variable-that-acts-like-user-defined.html"&gt;http://qlikviewmaven.blogspot.com/2011/04/variable-that-acts-like-user-defined.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 16:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196949#M56799</guid>
      <dc:creator />
      <dc:date>2011-04-04T16:10:58Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196950#M56800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;This is brilliant technique. Many thanks to you. Logically I understood how this works. However, I have 2 variables to pass as arguments. So how does it work with 2 variables? Sorry I can't get my head around this one.&lt;/P&gt;&lt;P&gt;Thanks again for your time.&lt;/P&gt;&lt;P&gt;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 16:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196950#M56800</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-04T16:28:19Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196951#M56801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to use two arguments just add &lt;EM&gt;$2&lt;/EM&gt; to your variable value and it will be replaced by the second argument when you execute it. These are "positional" arguments - the first one replaces $1, the second argument replaces $2, third argument replaces $3, etc.&lt;/P&gt;&lt;P&gt;The arguments are separated by commas similar to other functions you might use. So, using the example from the blog posting, you might code something like this in your chart expression:&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;$(telno(CUST_PHONE,'ext 55'))&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 16:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196951#M56801</guid>
      <dc:creator />
      <dc:date>2011-04-04T16:55:10Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196952#M56802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;Awesome! This technique is opening more possiblities in QV. I had checked your blog and it is fantastic! Many thanks again.&lt;/P&gt;&lt;P&gt;I got it working now.&lt;/P&gt;&lt;P&gt;Cheenu - I hope you are following this one... Cool technique from Tim.&lt;/P&gt;&lt;P&gt;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 17:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196952#M56802</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-04T17:14:35Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196953#M56803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;Very quick question... What is the performance implication? I am assuming that it evaluates the variables everytime the chart is called.&lt;/P&gt;&lt;P&gt;Please can you share or guide to an article to demostrate best practices on using variables &amp;amp; expressions.&lt;/P&gt;&lt;P&gt;Many thanks again.&lt;/P&gt;&lt;P&gt;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 17:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196953#M56803</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-04T17:36:47Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196954#M56804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;I initially thought it might be with passing of a parameter in a var, but didn't know how to figure it out. It's still the darker side of QV expression that I haven't fully come to grips with.&lt;/P&gt;&lt;P&gt;Thanks for keeping me updated. I'm going to copy/paste and re-read that blog post a few times.&lt;/P&gt;&lt;P&gt;FYI as another technique: Leveraging HelpInfo text with passing of parameter and using AGGR function (if you might need it some time).&lt;/P&gt;&lt;P&gt;The one place where I used passing of parameter is in regard to using the HelpText info on chart objects (Caption tab).&lt;/P&gt;&lt;P&gt;If you create a table load with 2 columns: HelpID and HelpText, you can re-use these with a variable on multiple objects or multiple apps (QVWs).&lt;/P&gt;&lt;P&gt;Load the table (with 2 columns as above) with the info that you want to include in the HelpText of objects (the question mark button in Caption bar), then in front-end create a var such as vHelpText=aggr(HelpText, HelpID = $1). Then, whenever you want to call for one of the HelpText cell value you have on the table you loaded, in HelpText put "=$(=vHelpText(N))", where N is the ID number for which you want to return the associated HelpText. You can do a string of concatenations of Help Text, e.g. =$(=vHelpText(1)) &amp;amp; '; ' &amp;amp; =$(=vHelpText(2)).... etc. (Zip file attached containing example QVW &amp;amp; Excel source data table).&lt;/P&gt;&lt;P&gt;I know passing parameter in expression is VERY powerful, but all of this is just hitting the tip of the iceberg.&lt;/P&gt;&lt;P&gt;Good that someone was able to help you out. Thanks for the heads up on the blog from Tim Benoit.&lt;/P&gt;&lt;P&gt;Hope if you get your head around passing of parameters that you'll help me out on it one day. ;o)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 17:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196954#M56804</guid>
      <dc:creator />
      <dc:date>2011-04-04T17:52:26Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196955#M56805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim Benoit,&lt;/P&gt;&lt;P&gt;Thanks for sharing the blog. I think the penny now dropped on what can be done with passing params for a UDF.&lt;/P&gt;&lt;P&gt;Deepak, thanks for keeping me posted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 17:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196955#M56805</guid>
      <dc:creator />
      <dc:date>2011-04-04T17:54:23Z</dc:date>
    </item>
    <item>
      <title>User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196956#M56806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;Using variables in expressions is fast -- remember that QlikView uses variables just for text replacement. The contents of the variable, when evaluated as an expression, may require more time or resources just as any expression. The parts of an expression that tend to consume more resources are things that make QlikView work with large amounts of data; things like Sum, Count, Aggr, Max, Min, StdDev, etc.&lt;/P&gt;&lt;P&gt;I'm not aware of any single usage guide to recommend for variables and expressions. The various QlikView bloggers have captured a lot of useful information and there's good information about techniques to use (and avoid) in the forum.&lt;/P&gt;&lt;P&gt;Good luck-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 17:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196956#M56806</guid>
      <dc:creator />
      <dc:date>2011-04-04T17:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196957#M56807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I pass comma seperated value as an argument?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anoop &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 09:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196957#M56807</guid>
      <dc:creator />
      <dc:date>2013-06-14T09:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196958#M56808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: 'trebuchet ms', geneva;"&gt;Anoop - Have you tried to using ASCII values or encapsulate the string in another variable by using dollar sign expansion?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'trebuchet ms', geneva;"&gt;Good luck!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'trebuchet ms', geneva;"&gt;Cheers,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'trebuchet ms', geneva;"&gt;DV&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'trebuchet ms', geneva;"&gt;&lt;A href="http://www.QlikShare.com"&gt;www.QlikShare.com&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 10:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196958#M56808</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2013-06-14T10:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196959#M56809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide an example? I have to write a user defined function which should return sum of sales according to the product id that I pass.&lt;/P&gt;&lt;P&gt;Some cases i would like to get more than one product's sum. With one product id function is working fine, if I add two values eg 1, 2 to the function it is not working. I tried with variable but it is not working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;. Can you please help me on this? ..&lt;/P&gt;&lt;P&gt;Thanks in advance .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anoop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 10:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196959#M56809</guid>
      <dc:creator />
      <dc:date>2013-06-14T10:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Function (UDF) using Variables</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196960#M56810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried both the way it is not working..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anoop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 10:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Function-UDF-using-Variables/m-p/196960#M56810</guid>
      <dc:creator />
      <dc:date>2013-06-14T10:54:02Z</dc:date>
    </item>
  </channel>
</rss>

