<?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 Error in Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/373283#M138819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Any sugestion my friends?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Jorge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2012 11:56:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-30T11:56:59Z</dc:date>
    <item>
      <title>Error in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/373282#M138818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use this expression below, but it shows me that there is an error in the expression.&lt;/P&gt;&lt;P&gt;What i am trying is really simple, i want that QV count the networkdays between TS.CorrectOne and Date_Time1 that are equal or higher than 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct if(networkdays(avg(TS.CorrectOne),avg(Date_Time1)) &amp;gt;= 5 , TS.Voyage))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other posibility or am I doing something wrong?&lt;/P&gt;&lt;P&gt;Just for information, these two fields are not in the same table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 20:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/373282#M138818</guid>
      <dc:creator />
      <dc:date>2012-05-29T20:44:47Z</dc:date>
    </item>
    <item>
      <title>Error in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/373283#M138819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Any sugestion my friends?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Jorge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 11:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/373283#M138819</guid>
      <dc:creator />
      <dc:date>2012-05-30T11:56:59Z</dc:date>
    </item>
    <item>
      <title>Error in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/373284#M138820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this if(networkdays(avg(TS.CorrectOne),avg(Date_Time1)) &amp;gt;= 5 , COUNT(DISTINCT TS.Voyage))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 12:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/373284#M138820</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2012-05-30T12:09:45Z</dc:date>
    </item>
    <item>
      <title>Error in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/373285#M138821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tks Sokkorn, but I already try this expression, the problem with this is that it gives me the total number and without the condition.&lt;/P&gt;&lt;P&gt;I am here trying to think in another condition expression, but i can't find any.&lt;/P&gt;&lt;P&gt;I will try to join these two fields into one table and create this expression in script, probably it will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 12:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/373285#M138821</guid>
      <dc:creator />
      <dc:date>2012-05-30T12:25:13Z</dc:date>
    </item>
    <item>
      <title>Error in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/373286#M138822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found it, i use this formula and worked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(aggr(if(networkdays(avg(TS.CorrectOne),avg(Date_Time1)) &amp;gt;= 5,Count(distinct TS.Voyage)),Month,TS.Voyage))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Jorge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 14:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/373286#M138822</guid>
      <dc:creator />
      <dc:date>2012-05-30T14:03:41Z</dc:date>
    </item>
  </channel>
</rss>

