<?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: Error in Expression for Text Colour in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406697#M1158840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Helen,&lt;/P&gt;&lt;P&gt;&amp;nbsp; try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if (Level3_Month='95TH CENTILE' AND time(Fractile({&amp;lt;Inline_Monthly_DataSource={ 'ED'} &amp;gt;} Inline_Monthly_Data_A,0.95)) &amp;gt;240, &lt;/P&gt;&lt;P&gt;RGB(255, 0,0), Green()&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work but I'm not sure is if it is implementing your logic. If it is not working please try to explain your "if" condition with words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2013 10:04:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-09T10:04:16Z</dc:date>
    <item>
      <title>Error in Expression for Text Colour</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406694#M1158837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if you could kindly help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written an expression for text colour in table and am getting a syntex error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Level3_Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='95TH CENTILE',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Fractile&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Inline_Monthly_DataSource&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={ 'ED'} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Inline_Monthly_Data_A&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0.95&amp;gt;240), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(255, 0,0)&lt;SPAN style="color: #ff0000;"&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Green&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;())&lt;BR /&gt;&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The error is in this part of the expression, where the comma is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(255, 0,0)&lt;SPAN style="color: #ff0000;"&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Green&lt;/SPAN&gt; &lt;SPAN style="font-size: 8pt;"&gt;())&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Can anyone suggest changes to the script?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Many Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Helen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 09:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406694#M1158837</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2013-01-09T09:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression for Text Colour</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406695#M1158838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to give color to the expression values then in &lt;STRONG&gt;Chart properties&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Expression&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;Level3_Month&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;='95TH CENTILE',&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;time&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;Fractile&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;Inline_Monthly_DataSource&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;={ 'ED'} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;Inline_Monthly_Data_A&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;,0.95&amp;gt;240)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;gt;click on &lt;STRONG&gt;+ sign&lt;/STRONG&gt; on your expression there you get the&lt;STRONG&gt; Text color&lt;/STRONG&gt;&amp;gt; in&lt;STRONG&gt; Definition&lt;/STRONG&gt; give your &lt;STRONG&gt;RGB(255,0,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rather than giving color in expresiion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 09:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406695#M1158838</guid>
      <dc:creator>neha_shirsath</dc:creator>
      <dc:date>2013-01-09T09:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression for Text Colour</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406696#M1158839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ahve written my expression under text colour as suggested, my problem is the fact that there is an error in my expression and need help rewriting my expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 10:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406696#M1158839</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2013-01-09T10:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression for Text Colour</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406697#M1158840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Helen,&lt;/P&gt;&lt;P&gt;&amp;nbsp; try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if (Level3_Month='95TH CENTILE' AND time(Fractile({&amp;lt;Inline_Monthly_DataSource={ 'ED'} &amp;gt;} Inline_Monthly_Data_A,0.95)) &amp;gt;240, &lt;/P&gt;&lt;P&gt;RGB(255, 0,0), Green()&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work but I'm not sure is if it is implementing your logic. If it is not working please try to explain your "if" condition with words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 10:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406697#M1158840</guid>
      <dc:creator />
      <dc:date>2013-01-09T10:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression for Text Colour</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406698#M1158841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniele&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you this works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 10:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406698#M1158841</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2013-01-09T10:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression for Text Colour</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406699#M1158842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am glad! Please mark my answer as correct so we can close this post successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Daniele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 10:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression-for-Text-Colour/m-p/406699#M1158842</guid>
      <dc:creator />
      <dc:date>2013-01-09T10:55:04Z</dc:date>
    </item>
  </channel>
</rss>

