<?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: Converting text color condition in the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Converting-text-color-condition-in-the-script/m-p/1808760#M1212373</link>
    <description>&lt;P&gt;i dont understand&amp;nbsp; are you saying the Expression itself is in XLS?&amp;nbsp; i dont think XLS has a green() function. but im not an XLS expert.maybe if you attach samples that will clear it up as you are making us guess a lot&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 15:08:32 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-05-18T15:08:32Z</dc:date>
    <item>
      <title>Converting text color condition in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-text-color-condition-in-the-script/m-p/1775838#M454829</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have a field called Expression in my excel. The color Red() means defect and Green() means passed. I am loading that field using a variable in the qlikview script. Now i would like to calculate how may records are defects and how many has passed.&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;IF(len(trim([Group]))&amp;gt;0,&lt;BR /&gt;If(Match([Flow],390)&amp;gt;0 and WildMatch([Group],'ZF40','ZR40','ZU40')&amp;gt;0,Green(),&lt;BR /&gt;If(Match([Flow],420)&amp;gt;0 and WildMatch([Group],'ZF40','ZR40')&amp;gt;0,Green(),&lt;BR /&gt;If(Match([Flow],400)&amp;gt;0 and Match([Group],'ZCPR')&amp;gt;0,Green(),&lt;BR /&gt;If(Match([Flow],430)&amp;gt;0 and Match([Group],'ZCPL')&amp;gt;0,Green(),&lt;BR /&gt;If(Match([Flow],440)&amp;gt;0 and WildMatch([Group],'ZF42','ZR42')&amp;gt;0,Green(),&lt;BR /&gt;If(Match([Flow],450)&amp;gt;0 and WildMatch([Group],'ZF49','ZR49')&amp;gt;0,Green(),&lt;BR /&gt;If(Match([Flow],460)&amp;gt;0 and WildMatch([Group],'ZF42','ZR42')&amp;gt;0,Green(),&lt;BR /&gt;If(Match([Flow],470)&amp;gt;0 and WildMatch([Group],'ZF40','ZR40','ZU40')&amp;gt;0,Green(),&lt;BR /&gt;If(Match([Flow],410)&amp;gt;0 and WildMatch([Group],'ZF40','ZR40','ZU40')&amp;gt;0,Green(),&lt;BR /&gt;Red()&lt;BR /&gt;))))))))))&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 04:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-text-color-condition-in-the-script/m-p/1775838#M454829</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2021-01-20T04:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Converting text color condition in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-text-color-condition-in-the-script/m-p/1776083#M454839</link>
      <description>&lt;P&gt;using the same expression, you can create a new field for Pass/Fail:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IF(len(trim([Group]))&amp;gt;0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(Match([Flow],390)&amp;gt;0 and WildMatch([Group],'ZF40','ZR40','ZU40')&amp;gt;0,'PASS',&lt;/SPAN&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;SPAN&gt;If(Match([Flow],410)&amp;gt;0 and WildMatch([Group],'ZF40','ZR40','ZU40')&amp;gt;0,'PASS',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'FAIL'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)))))))))) as NewPassFailField,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 19:45:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-text-color-condition-in-the-script/m-p/1776083#M454839</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-20T19:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Converting text color condition in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-text-color-condition-in-the-script/m-p/1808547#M1212357</link>
      <description>&lt;P&gt;Hi Edwin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks for your reply. It should be dynamic. The formula in the excel can be changed by the user at any time. Our script has to calculate dynamically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joshua.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 04:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-text-color-condition-in-the-script/m-p/1808547#M1212357</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2021-05-18T04:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Converting text color condition in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-text-color-condition-in-the-script/m-p/1808760#M1212373</link>
      <description>&lt;P&gt;i dont understand&amp;nbsp; are you saying the Expression itself is in XLS?&amp;nbsp; i dont think XLS has a green() function. but im not an XLS expert.maybe if you attach samples that will clear it up as you are making us guess a lot&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 15:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-text-color-condition-in-the-script/m-p/1808760#M1212373</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-05-18T15:08:32Z</dc:date>
    </item>
  </channel>
</rss>

