<?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 Missing ')' - can't see it in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Missing-can-t-see-it/m-p/534402#M199652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to create a new table using a LOAD statement on a table that already exists. Qlikview is telling me there is a missing ')' somewhere in my script, but for the life of me I can't see where. Script is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in expression:&lt;/P&gt;&lt;P&gt;')' expected&lt;/P&gt;&lt;P&gt;add REVENUESUMMARY:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp; monthname(SERVICEDATE) as SERVICEMONTHYEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp; year(SERVICEDATE) as SERVICEYEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp; month(SERVICEDATE) as SERVICEMONTH,&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum(SALESREVENUEEUR) as REVENUE,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PRODUCTCODE as PRODUCTCODE&lt;/P&gt;&lt;P&gt;RESIDENT BOOKINGDETAIL_AND_SUPPLIERDETAIL&lt;/P&gt;&lt;P&gt;where year(SERVICEDATE) &amp;gt;= year(current date-1 year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Oct 2013 11:50:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-28T11:50:41Z</dc:date>
    <item>
      <title>Missing ')' - can't see it</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-can-t-see-it/m-p/534402#M199652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to create a new table using a LOAD statement on a table that already exists. Qlikview is telling me there is a missing ')' somewhere in my script, but for the life of me I can't see where. Script is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in expression:&lt;/P&gt;&lt;P&gt;')' expected&lt;/P&gt;&lt;P&gt;add REVENUESUMMARY:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp; monthname(SERVICEDATE) as SERVICEMONTHYEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp; year(SERVICEDATE) as SERVICEYEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp; month(SERVICEDATE) as SERVICEMONTH,&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum(SALESREVENUEEUR) as REVENUE,&lt;/P&gt;&lt;P&gt;&amp;nbsp; PRODUCTCODE as PRODUCTCODE&lt;/P&gt;&lt;P&gt;RESIDENT BOOKINGDETAIL_AND_SUPPLIERDETAIL&lt;/P&gt;&lt;P&gt;where year(SERVICEDATE) &amp;gt;= year(current date-1 year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 11:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-can-t-see-it/m-p/534402#M199652</guid>
      <dc:creator />
      <dc:date>2013-10-28T11:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Missing ')' - can't see it</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-can-t-see-it/m-p/534403#M199653</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;hi rory,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;try this&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; monthname(SERVICEDATE) as SERVICEMONTHYEAR,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; year(SERVICEDATE) as SERVICEYEAR,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; month(SERVICEDATE) as SERVICEMONTH,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; sum(SALESREVENUEEUR) as REVENUE,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; PRODUCTCODE as PRODUCTCODE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT BOOKINGDETAIL_AND_SUPPLIERDETAIL&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where year(SERVICEDATE) &amp;gt;= year(now())-1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 11:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-can-t-see-it/m-p/534403#M199653</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2013-10-28T11:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Missing ')' - can't see it</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-can-t-see-it/m-p/534404#M199654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 errors in your script&lt;/P&gt;&lt;P&gt;1. is&lt;STRONG&gt; current data - 1 year &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Sum cannot be used without group by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you could use something like this&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; monthname(Max(SERVICEDATE)) as SERVICEMONTHYEAR,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; year(Max(SERVICEDATE)) as SERVICEYEAR,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; month(SERVICEDATE) as SERVICEMONTH,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; sum(SALESREVENUEEUR) as REVENUE,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; PRODUCTCODE as PRODUCTCODE&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT BOOKINGDETAIL_AND_SUPPLIERDETAIL&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where year(SERVICEDATE) &amp;gt;= (year(Today()) - 1)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group by &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;month(SERVICEDATE)&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;PRODUCTCODE&lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 12:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-can-t-see-it/m-p/534404#M199654</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-10-28T12:06:25Z</dc:date>
    </item>
  </channel>
</rss>

