<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146703#M463921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure to use single quotes instead of double quotes around the format string. Actually you can leave out the entire Date() function. It's unnecessary since you use the Hour and Minute functions on the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't solve the problem then p&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;lease post a small qlikview document that demonstrates the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2016 14:42:43 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-05-25T14:42:43Z</dc:date>
    <item>
      <title>Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146701#M463919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There 's erros in this expression. please help me to find out those errors :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(CONGE='Y',HR_CONGE,Hour(Date(if(isnull(PRESENCE),0,PRESENCE/1440),"hh:mm:ss")))&amp;amp;'H:' &amp;amp;Minute(Date(if(isnull(PRESENCE),0,PRESENCE/1440),"hh:mm:ss"))&lt;/P&gt;&lt;P&gt;&amp;amp;'Min'&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, 25 May 2016 14:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146701#M463919</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-05-25T14:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146702#M463920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;May be this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=If(CONGE='Y',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; HR_CONGE,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Floor(If(IsNull(PRESENCE), 0, PRESENCE/1440)) &amp;amp; 'H:' &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Floor(If(IsNull(PRESENCE), 0, PRESENCE/86400)) &amp;amp; 'Min')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 14:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146702#M463920</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-25T14:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146703#M463921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure to use single quotes instead of double quotes around the format string. Actually you can leave out the entire Date() function. It's unnecessary since you use the Hour and Minute functions on the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't solve the problem then p&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;lease post a small qlikview document that demonstrates the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 14:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146703#M463921</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-25T14:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146704#M463922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONGE='Y',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HR_CONGE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isnull(PRESENCE),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRESENCE/1440&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hh"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;) &lt;/P&gt;&lt;P&gt;&amp;amp; &lt;/P&gt;&lt;P&gt;'H:' &lt;/P&gt;&lt;P&gt;&amp;amp; &lt;/P&gt;&lt;P&gt;timestamp(if(isnull(PRESENCE),0,PRESENCE/1440),"mm") &lt;/P&gt;&lt;P&gt;&amp;amp; &lt;/P&gt;&lt;P&gt;'Min'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will be without errors &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 14:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146704#M463922</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-05-25T14:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146705#M463923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What kind of output does PRESENCE give?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share with us a QVW or a sample of your data&amp;nbsp; or even a screenshot of it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 14:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146705#M463923</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-05-25T14:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146706#M463924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/204044"&gt;miguelbraga&lt;/A&gt;‌ to be honest I don't understand well this expression but the result is duréé 08:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; see below a part of the concerned table :&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="410"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="71"&gt;LOCATION&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;TIME&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;CONGE&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;HR_CONGE&lt;/TD&gt;&lt;TD class="xl63" width="68"&gt;TOT_TIME&lt;/TD&gt;&lt;TD class="xl63" width="79"&gt;PRESENCE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;CONGE&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;8h0min&lt;/TD&gt;&lt;TD&gt;480&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you explain it to me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 15:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146706#M463924</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-05-25T15:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146707#M463925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your field PRESENCE is the number of seconds of a specific LOCATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TOT_TIME gives you almost the answer you're looking for. Just use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=replace(replace(TOT_TIME, 'h', 'H:'), 'min', 'Min')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you the results in your chart &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 15:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146707#M463925</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-05-25T15:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146708#M463926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I need to count the empty cases I did like that and didn't work :&lt;/P&gt;&lt;P&gt;if ([MSISDN_APPELANT] ='-',count(MSISDN_APPELANT))&lt;/P&gt;&lt;P&gt;do you have any idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 11:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146708#M463926</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-05-27T11:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146709#M463927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, In that expression you are searching for the value '-', is this value stored in the load of data? Or c&lt;SPAN style="font-size: 13.3333px;"&gt;an be that '-' meant the null values QV draws? If it's a null value&lt;/SPAN&gt; maybe with &lt;EM&gt;NullCount(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MSISDN_APPELANT&lt;/SPAN&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 12:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146709#M463927</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-05-27T12:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146710#M463928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it works with &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NullCount(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;MSISDN_APPELANT&lt;/SPAN&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 23:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/1146710#M463928</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-05-27T23:20:44Z</dc:date>
    </item>
  </channel>
</rss>

