<?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/501335#M482999</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;I want to show all contracts (agreements) that were Terminated in the month of June.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date Sold]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;='01/06/2013' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;='30/06/2013',count(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Agreement Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shows an Error in Expression message at the top of the expression box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is at the smaller or equal to 30/06/2013, because it underlines that symbols in red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with an alternative way of expressing my formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;*R*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jul 2013 12:37:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-19T12:37:02Z</dc:date>
    <item>
      <title>Error in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501335#M482999</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;I want to show all contracts (agreements) that were Terminated in the month of June.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date Sold]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;='01/06/2013' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;='30/06/2013',count(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Agreement Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shows an Error in Expression message at the top of the expression box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is at the smaller or equal to 30/06/2013, because it underlines that symbols in red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with an alternative way of expressing my formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;*R*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501335#M482999</guid>
      <dc:creator />
      <dc:date>2013-07-19T12:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501336#M483000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date Sold]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;='01/06/2013' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date Sold]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;='30/06/2013',count(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Agreement Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501336#M483000</guid>
      <dc:creator />
      <dc:date>2013-07-19T12:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501337#M483001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if&lt;/P&gt;&lt;P&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;[Date Sold]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;&amp;gt;='01/06/2013' &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; &lt;SPAN style="color: #800000; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;[Date Sold]&lt;/SPAN&gt;&amp;lt;='30/06/2013',count(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;[Agreement Number]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501337#M483001</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-07-19T12:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501338#M483002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;[Date Sold]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;&amp;gt;='01/06/2013' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; background-color: #ffffff; font-family: Arial;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; &lt;SPAN style="color: #800000;"&gt;[Date Sold]&lt;/SPAN&gt;&amp;lt;='30/06/2013',count(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;[Agreement Number]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501338#M483002</guid>
      <dc:creator />
      <dc:date>2013-07-19T12:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501339#M483003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if &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;[Date Sold] &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;&amp;gt;='01/06/2013' &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; &lt;SPAN style="color: #800000; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;[Date Sold]&lt;/SPAN&gt; &amp;lt;='30/06/2013',count(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;[Agreement Number]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&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;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;Please try this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501339#M483003</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2013-07-19T12:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501340#M483004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;firstly in script write your date field according to this format--&lt;/P&gt;&lt;P&gt;date(date#(&lt;STRONG style="color: #800000; font-size: 8pt; background-color: #ffffff; font-family: Arial;"&gt;[Date Sold],&lt;/STRONG&gt;'DD/MM/YYYY'),'DD/MM/YYYY') AS &lt;STRONG style="color: #800000; font-size: 8pt; background-color: #ffffff; font-family: Arial;"&gt;[Date Sold]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #800000; font-size: 8pt; background-color: #ffffff; font-family: Arial;"&gt;THE TRY THIS&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;count(distinct if(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;[Date Sold]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;&amp;gt;='01/06/2013' &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;and &lt;SPAN style="color: #800000; font-family: Arial; font-size: 11.1111px; background-color: #ffffff;"&gt;[Date Sold]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; &amp;lt;='30/06/2013', &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;[Agreement Number]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Expression/m-p/501340#M483004</guid>
      <dc:creator />
      <dc:date>2013-07-19T12:58:23Z</dc:date>
    </item>
  </channel>
</rss>

