<?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: How to modify script so that it can have min and max range control ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-modify-script-so-that-it-can-have-min-and-max-range/m-p/431173#M160759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah... Paul. That is my mistake in script level &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previous script&lt;/P&gt;&lt;P&gt;If(Num(@124:129T)&amp;gt;=50000 and Num(@124:129T)&lt;STRONG style="color: #ff0000;"&gt;=&amp;lt;&lt;/STRONG&gt;50099,'4 CURRENT ASSET 0 - 50099',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Num(@124:129T)&amp;gt;=60100 and Num(@124:129T)&lt;STRONG style="color: #ff0000;"&gt;=&amp;lt;&lt;/STRONG&gt;70099,'5 CURRENT LIABILITY 60100 - 70099')) as [NAME_NEW],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modified to&lt;/P&gt;&lt;P&gt;If(Num(@124:129T)&amp;gt;=50000 and Num(@124:129T)&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt;50099,'4 CURRENT ASSET 0 - 50099',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Num(@124:129T)&amp;gt;=60100 and Num(@124:129T)&lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt;70099,'5 CURRENT LIABILITY 60100 - 70099')) as [NAME_NEW],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it and take a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2013 02:40:26 GMT</pubDate>
    <dc:creator>Sokkorn</dc:creator>
    <dc:date>2013-05-07T02:40:26Z</dc:date>
    <item>
      <title>How to modify script so that it can have min and max range control ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-script-so-that-it-can-have-min-and-max-range/m-p/431170#M160756</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;&amp;nbsp; &lt;/P&gt;&lt;P&gt;My script below :-&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;if(num(@124:129T)&amp;lt;'50099','4 CURRENT ASSET 0 - 50099',&lt;/P&gt;&lt;P&gt;if(num(@124:129T)&amp;lt;'70099','5 CURRENT LIABILITY 50100 - 70099',&lt;/P&gt;&lt;P&gt;)) as [NAME_],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will filter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from 0-50099 as for Current Asset.&lt;/P&gt;&lt;P&gt;from 50100-70099 as for Current Liability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how to modify the above script so that it will&amp;nbsp; :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from 50000-50099 as for Current Asset.&lt;/P&gt;&lt;P&gt;from 60100-70099 as for Current Liability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope some one can advise me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 01:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-script-so-that-it-can-have-min-and-max-range/m-p/431170#M160756</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2013-05-07T01:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify script so that it can have min and max range control ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-script-so-that-it-can-have-min-and-max-range/m-p/431171#M160757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure you try this script yet&lt;/P&gt;&lt;P&gt;If(Num(@124:129T)&amp;gt;=50000 and Num(@124:129T)=&amp;lt;50099,'4 CURRENT ASSET 0 - 50099',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Num(@124:129T)&amp;gt;=60100 and Num(@124:129T)=&amp;lt;70099,'5 CURRENT LIABILITY 60100 - 70099')) as [NAME_],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, QlikView recognise filter value '50099' as a string. So to avoid conflict script translation, we should use it in number format(because you used Num(@124:129T) that one return in number format).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 02:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-script-so-that-it-can-have-min-and-max-range/m-p/431171#M160757</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-05-07T02:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify script so that it can have min and max range control ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-script-so-that-it-can-have-min-and-max-range/m-p/431172#M160758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sokkom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank for your script, I manage detect one error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;If(Num(@124:129T)&amp;gt;=50000 and Num(@124:129T)=&amp;lt;50099,'4 CURRENT ASSET 0 - 50099',&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Num(@124:129T)&amp;gt;=60100 and Num(@124:129T)=&amp;lt;70099,'5 CURRENT LIABILITY 60100 - 70099'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;need to add a , here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;)) as [NAME_],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;even i manage detect the error , i still get error. may be you can help me again ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 02:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-script-so-that-it-can-have-min-and-max-range/m-p/431172#M160758</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2013-05-07T02:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify script so that it can have min and max range control ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-script-so-that-it-can-have-min-and-max-range/m-p/431173#M160759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah... Paul. That is my mistake in script level &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previous script&lt;/P&gt;&lt;P&gt;If(Num(@124:129T)&amp;gt;=50000 and Num(@124:129T)&lt;STRONG style="color: #ff0000;"&gt;=&amp;lt;&lt;/STRONG&gt;50099,'4 CURRENT ASSET 0 - 50099',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Num(@124:129T)&amp;gt;=60100 and Num(@124:129T)&lt;STRONG style="color: #ff0000;"&gt;=&amp;lt;&lt;/STRONG&gt;70099,'5 CURRENT LIABILITY 60100 - 70099')) as [NAME_NEW],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modified to&lt;/P&gt;&lt;P&gt;If(Num(@124:129T)&amp;gt;=50000 and Num(@124:129T)&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;/SPAN&gt;50099,'4 CURRENT ASSET 0 - 50099',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Num(@124:129T)&amp;gt;=60100 and Num(@124:129T)&lt;STRONG style="color: #ff0000;"&gt;&amp;lt;=&lt;/STRONG&gt;70099,'5 CURRENT LIABILITY 60100 - 70099')) as [NAME_NEW],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it and take a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 02:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-script-so-that-it-can-have-min-and-max-range/m-p/431173#M160759</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-05-07T02:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify script so that it can have min and max range control ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-script-so-that-it-can-have-min-and-max-range/m-p/431174#M160760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sokkom , it work fine now. Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 02:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-script-so-that-it-can-have-min-and-max-range/m-p/431174#M160760</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2013-05-07T02:57:38Z</dc:date>
    </item>
  </channel>
</rss>

