<?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: Expression help in text Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510487#M1136096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Excellent, I tried the 2nd one (the one without the If statement) and is working fine. Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 13:20:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-23T13:20:49Z</dc:date>
    <item>
      <title>Expression help in text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510478#M1136087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the below expression which i need to show the RAG status in the Text object. I am not sure how to write the below exp for the RAG status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=ceil(count(if ([status]=1,Employee))/count(if([status]='1','0',Employee))&lt;/P&gt;&lt;P&gt;(i.e, count of EMPLOYEES when STATUS=1 divided by Count of EMPLOYEES when STATUS=1 and 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RAG should be: &lt;/P&gt;&lt;P&gt;0-75 Red&lt;BR /&gt;75-85 Amber&lt;BR /&gt;85-100 Green&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use images 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png', 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png', 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png' for Red, Amber and Green. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me out please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 10:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510478#M1136087</guid>
      <dc:creator />
      <dc:date>2013-10-23T10:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help in text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510479#M1136088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Ceil(count({&amp;lt;status=1&amp;gt;} Employee) / count({&amp;lt;status=0&amp;gt;} Employee) &amp;lt; 75,&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png'&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Ceil(count({&amp;lt;status=1&amp;gt;} Employee) / count({&amp;lt;status=0&amp;gt;} Employee) &amp;lt; 85,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png'&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 10:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510479#M1136088</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2013-10-23T10:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help in text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510480#M1136089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aurien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I need to count both 1 and 0 in the denominator but in your expression its just counting Status=0. Is your expression correct ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 10:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510480#M1136089</guid>
      <dc:creator />
      <dc:date>2013-10-23T10:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help in text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510481#M1136090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If(Ceil(count({&amp;lt;status={1}&amp;gt;} Employee) / count({&amp;lt;status={0,1}&amp;gt;} Employee)) &amp;lt; 75,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit;"&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png'&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If(Ceil(count({&amp;lt;status={1}&amp;gt;} Employee) / count({&amp;lt;status={0,1}&amp;gt;} Employee)) &amp;lt; 85,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-style: inherit;"&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png'&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-style: inherit;"&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit;"&gt;&amp;nbsp; )&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 10:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510481#M1136090</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-23T10:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help in text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510482#M1136091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;info(if(count({&amp;lt;Status={1}&amp;gt;}Employee)/count({&amp;lt;Status={0,1}&amp;gt;}Employee)&amp;lt;=75,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(count({&amp;lt;Status={1}&amp;gt;}Employee)/count({&amp;lt;Status={0,1}&amp;gt;}Employee)&amp;lt;=85,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png'&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png' &lt;/SPAN&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;try this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 10:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510482#M1136091</guid>
      <dc:creator />
      <dc:date>2013-10-23T10:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help in text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510483#M1136092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi wasseaar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your expression but getting 'error in expression'. Might be somewhere brackets are missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my expression:&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 style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ceil&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Employee&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={0,1}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Employee&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt; 75,'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png'&lt;BR /&gt;, &lt;/SPAN&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: #0000ff; font-size: 8pt;"&gt;ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Employee&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={0,1}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Employee&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;85, 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png','qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png')) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I try to add 2 closed brackets at the end of the expression but still getting error in expression. could you check it for me please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 11:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510483#M1136092</guid>
      <dc:creator />
      <dc:date>2013-10-23T11:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help in text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510484#M1136093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're correct. Try this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Ceil(count({&amp;lt;status={1}&amp;gt;} Employee) / count({&amp;lt;status={0,1}&amp;gt;} Employee)) &amp;lt; 75,&lt;/P&gt;&lt;P&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Ceil(count({&amp;lt;status={1}&amp;gt;} Employee) / count({&amp;lt;status={0,1}&amp;gt;} Employee)) &amp;lt; 85,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png'&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 11:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510484#M1136093</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-23T11:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help in text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510485#M1136094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;thanks Wassenaar. Working fine now. I need one more clarification. I created an object with below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;=ceil&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&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;[status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Employee&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))/ &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&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;[status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='1','0',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Employee&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I am not sure whether my expression is correct or not. My requirement is to Count all the employees who are in status 1, divided by, count of all employees who re in status 1 and 0. Is there any otherway to write the above expression&amp;nbsp; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 13:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510485#M1136094</guid>
      <dc:creator />
      <dc:date>2013-10-23T13:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help in text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510486#M1136095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not correct. This would be:&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;[status]&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Employee&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;))/ &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;[status]&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;=1 or &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 11px;"&gt;[status]&lt;/SPAN&gt;= 0,&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Employee&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also write it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=ceil(count({&amp;lt;[status]={1}&amp;gt;}Employee)/count({&amp;lt;[status]={1,0}&amp;gt;}Employee))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On large datasets this would perform better than the expression with the if statements&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 13:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510486#M1136095</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-23T13:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help in text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510487#M1136096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Excellent, I tried the 2nd one (the one without the If statement) and is working fine. Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 13:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-in-text-Object/m-p/510487#M1136096</guid>
      <dc:creator />
      <dc:date>2013-10-23T13:20:49Z</dc:date>
    </item>
  </channel>
</rss>

