<?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: Custom function Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-function-Issue/m-p/1301486#M405562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hi Ranjit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I'd suggest two improvements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;1. Start the formula in vCondition with the equal sign, in order to pick the relevant formula before the expression gets to the Chart Measure - that means that Measures cannot be your chart Dimension, but it will largely improve performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;2. The parameter to the $-sign expansion needs to be enclosed in single quotes, to appear as a string:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;$(FormatNumber('$(vCondition)'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I believe that these two changes should fix the problem, however everything needs to be tested &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;We teach these advanced techniques at the &lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;Masters Summit for Qlik&lt;/A&gt; - check our upcoming schedule and see if our agenda is good for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Cheers,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Oleg Troyansky&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Upgrade your Qlik Skills with my book &lt;A class="jive-link-external-small" href="https://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=098202df27917ab9836332cf063c51f5" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;QlikView Your Business: An Expert Guide to Business Discovery with QlikView and Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2017 14:57:31 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2017-04-11T14:57:31Z</dc:date>
    <item>
      <title>Custom function Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-function-Issue/m-p/1301485#M405561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here My scenario is Create Custom Fuction to show values in Crores,Lacs,Thousands etc for that purpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Have Been Created One Variable in Script Level i.e&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET FormatNumber=Dual(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if($1&amp;gt;=10000000,num($1/10000000,'₹ ##.##Cr'),&lt;/P&gt;&lt;P&gt; if($1&amp;gt;=100000,num($1/100000,'₹ ##.##L'),&lt;/P&gt;&lt;P&gt; if($1&amp;gt;=1000,num($1/1000,'₹ ##.##K'),&lt;/P&gt;&lt;P&gt; $1))) ,$1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Have Been Created One Variable in Frontend i.e&amp;nbsp; vCondition this variable contains expression like below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Measures='Logins',$(vTotalLogins),&lt;BR /&gt;if(Measures='Clients Traded (Unique)',$(vUniqueClientsTraded),&lt;BR /&gt;if(Measures='Volume (Cr)',$(vTotalVolume),&lt;BR /&gt;if(Measures='Brokerage in Lacs (Gross)',$(vBrokerage),&lt;BR /&gt;if(Measures='No. of Trading Days',$(vNoftradingdays),&lt;BR /&gt;if(Measures='Avg. brokerage per client',$(vAvgClientBrokerage),&lt;BR /&gt;if(Measures='Avg. daily login',$(vAvgDailyLogins),&lt;BR /&gt;if(Measures='Avg. daily brokerage',$(vAvgDailyBrokerage),&lt;BR /&gt;if(Measures='Avg. daily volume',$(vAvgDailyVolume)&lt;BR /&gt;)))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here I am passing vCondition as a parameter to FormatNumber like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(FormatNumber($(vCondition)))&lt;/P&gt;&lt;P&gt;But I unable to get the expected result .&lt;/P&gt;&lt;P&gt;Hello Qlik Experts,&lt;/P&gt;&lt;P&gt;Please provide me the correct solution to overcome the above problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me asap&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/130924"&gt;avinashelite&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt; &lt;A href="https://community.qlik.com/qlik-users/77808"&gt;mto&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/228772"&gt;lakshmikandh&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 14:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-function-Issue/m-p/1301485#M405561</guid>
      <dc:creator>kakaderanjit53</dc:creator>
      <dc:date>2017-04-11T14:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom function Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-function-Issue/m-p/1301486#M405562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hi Ranjit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I'd suggest two improvements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;1. Start the formula in vCondition with the equal sign, in order to pick the relevant formula before the expression gets to the Chart Measure - that means that Measures cannot be your chart Dimension, but it will largely improve performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;2. The parameter to the $-sign expansion needs to be enclosed in single quotes, to appear as a string:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;$(FormatNumber('$(vCondition)'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I believe that these two changes should fix the problem, however everything needs to be tested &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;We teach these advanced techniques at the &lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;Masters Summit for Qlik&lt;/A&gt; - check our upcoming schedule and see if our agenda is good for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Cheers,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Oleg Troyansky&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Upgrade your Qlik Skills with my book &lt;A class="jive-link-external-small" href="https://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=098202df27917ab9836332cf063c51f5" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;QlikView Your Business: An Expert Guide to Business Discovery with QlikView and Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 14:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-function-Issue/m-p/1301486#M405562</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-04-11T14:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom function Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-function-Issue/m-p/1301487#M405563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your important reply,&lt;/P&gt;&lt;P&gt;Let me check now,as per your above suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 04:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-function-Issue/m-p/1301487#M405563</guid>
      <dc:creator>kakaderanjit53</dc:creator>
      <dc:date>2017-04-12T04:08:01Z</dc:date>
    </item>
  </channel>
</rss>

