<?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: Need help on Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-on-Script/m-p/1514096#M750340</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Like way?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(IF(&lt;FONT color="#0000FF"&gt;(Category='CAR' Or Category='BUS')&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;And&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;Category &amp;gt;10&lt;/FONT&gt;,'ABC','')='ABC', IF(Category='CAR',( Category *1),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;IF(Category ='BUS',( Category *3.1),'')),'') as CategoryNew&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Blue part, Will understand the condition fulfill or not. That means, First it will effect to show OR operator then AND operator. If condition fulfill show ABC else Null.&amp;nbsp;&lt;FONT color="#993366"&gt;&lt;FONT color="#008000"&gt;&lt;FONT color="#0000FF"&gt;IF((Category='CAR' Or Category='BUS')&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;And&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Category &amp;gt;10,'ABC','')&lt;/FONT&gt;='ABC'&lt;/FONT&gt; &lt;FONT color="#000000"&gt;If this condition returns either ABC or Null. Then represent only ABC values. same as next one. You may bifurcate and do some analysis. Else, Ask use if anything not understandable.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Nov 2018 09:42:21 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-11-29T09:42:21Z</dc:date>
    <item>
      <title>Need help on Script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-Script/m-p/1514056#M750339</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;Please could you explain below&amp;nbsp; script.. someone has made this..&lt;/P&gt;&lt;P&gt;IF(IF((Category='CAR' Or Category='BUS') And Category &amp;gt;10,'ABC','')='ABC', IF(Category='CAR',( Category *1),&lt;BR /&gt;IF(Category ='BUS',( Category *3.1),'')),'') as CategoryNew&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-Script/m-p/1514056#M750339</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on Script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-Script/m-p/1514096#M750340</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Like way?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(IF(&lt;FONT color="#0000FF"&gt;(Category='CAR' Or Category='BUS')&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;And&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;Category &amp;gt;10&lt;/FONT&gt;,'ABC','')='ABC', IF(Category='CAR',( Category *1),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;IF(Category ='BUS',( Category *3.1),'')),'') as CategoryNew&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Blue part, Will understand the condition fulfill or not. That means, First it will effect to show OR operator then AND operator. If condition fulfill show ABC else Null.&amp;nbsp;&lt;FONT color="#993366"&gt;&lt;FONT color="#008000"&gt;&lt;FONT color="#0000FF"&gt;IF((Category='CAR' Or Category='BUS')&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;And&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Category &amp;gt;10,'ABC','')&lt;/FONT&gt;='ABC'&lt;/FONT&gt; &lt;FONT color="#000000"&gt;If this condition returns either ABC or Null. Then represent only ABC values. same as next one. You may bifurcate and do some analysis. Else, Ask use if anything not understandable.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 09:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-Script/m-p/1514096#M750340</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-11-29T09:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on Script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-Script/m-p/1514125#M750341</link>
      <description>&lt;P&gt;I think the Category field i Dual, so it consists of both a string and a number. That could explain why the formel uses both string and number condition on the same field&lt;/P&gt;&lt;P&gt;In the end it multiplies Catagory as with 1, if its a CAR, and if's a bus multiplied with 3,1.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 10:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-Script/m-p/1514125#M750341</guid>
      <dc:creator>jfkinspari</dc:creator>
      <dc:date>2018-11-29T10:29:19Z</dc:date>
    </item>
  </channel>
</rss>

