<?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: ')' expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1607514#M597525</link>
    <description>&lt;P&gt;If you use this line&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//**** Create the Master Calendar ****&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Instead can you below line&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//Create the Master Calendar&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* will say there is comment enabled but not closed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am silly, But it is powerful.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2019 13:02:24 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2019-07-30T13:02:24Z</dc:date>
    <item>
      <title>Error in expression: ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1607279#M597522</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm only new to Qlik &amp;amp; have come across an issue which is make me lose my hair quicker than I should be.&lt;/P&gt;&lt;P&gt;I have the script for a Master Calendar below, but when I try to load it I am receiving the "Error in expression: ')' expected" error &amp;amp; I can't work out why.&lt;/P&gt;&lt;P&gt;My script is:&lt;/P&gt;&lt;P&gt;//**** Create the Master Calendar ****&lt;BR /&gt;MasterCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt;[Authorised Date],&lt;BR /&gt;Week([Authorised Date]) as Week,&lt;BR /&gt;Year([Authorised Date]) as Year,&lt;BR /&gt;Month([Authorised Date]) as Month,&lt;BR /&gt;Day([Authorised Date]) as Day,&lt;BR /&gt;WeekDay([Authorised Date]) as WeekDay,&lt;BR /&gt;Dual('Q' &amp;amp; Ceil(Month([Authorised Date]) / 3), Ceil(Month([Authorised Date]) / 3)) as Quarter, // new for better sorting&lt;BR /&gt;Date(MonthStart([Authorised Date]),'MMM-YYYY') as MonthYear,&lt;BR /&gt;Week([Authorised Date]) &amp;amp;'-'&amp;amp; If(Week([Authorised Date])=1 AND Month([Authorised Date])=12,Year([Authorised Date])+1, If(Match(Week([Authorised Date]), 52, 53) AND&lt;BR /&gt;Month([Authorised Date])=1, Year([Authorised Date])-1, Year([Authorised Date]))) as WeekYear,&lt;BR /&gt;InYearToDate([Authorised Date], $(vToday), 0) * -1 as CYTDFlag,&lt;BR /&gt;InYearToDate([Authorised Date], $(vToday), -1) * -1 as LYTDFlag,&lt;BR /&gt;If(DayNumberOfYear([Authorised Date]) &amp;lt;= DayNumberOfYear($(vToday)), 1, 0 ) as IsInYTD,&lt;BR /&gt;If(DayNumberOfQuarter([Authorised Date]) &amp;lt;= DayNumberOfQuarter($(vToday)), 1, 0) as IsInQTD,&lt;BR /&gt;If(Day([Authorised Date]) &amp;lt;= Day($(vToday)), 1, 0) as IsInMTD,&lt;BR /&gt;If(Month([Authorised Date]) = Month($(vToday)), 1, 0) as IsCurrentMonth,&lt;BR /&gt;If(Month(AddMonths([Authorised Date],1)) = Month($(vToday)), 1, 0) as IsLastMonth&lt;BR /&gt;RESIDENT MasterCalendar_Temp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;BR /&gt;Greg&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 05:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1607279#M597522</guid>
      <dc:creator>GregB</dc:creator>
      <dc:date>2019-07-30T05:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1607506#M597524</link>
      <description>&lt;P&gt;It seems like all of your parenthesis are there. You should comment out a line or two at a time until you can determine which is giving the error.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 12:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1607506#M597524</guid>
      <dc:creator>lockematthewp</dc:creator>
      <dc:date>2019-07-30T12:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1607514#M597525</link>
      <description>&lt;P&gt;If you use this line&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//**** Create the Master Calendar ****&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Instead can you below line&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//Create the Master Calendar&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* will say there is comment enabled but not closed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am silly, But it is powerful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 13:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1607514#M597525</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-07-30T13:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression: ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1607768#M597527</link>
      <description>&lt;P&gt;Oh wow, it's quite pedantic isn't it.....&lt;/P&gt;&lt;P&gt;I spoke to my colleague who gave me a known script that works...and it does &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have no doubt this won't be the last time I have to call on the wise Qlik community for assistance.&lt;/P&gt;&lt;P&gt;I appreciate your help, thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 22:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1607768#M597527</guid>
      <dc:creator>GregB</dc:creator>
      <dc:date>2019-07-30T22:48:31Z</dc:date>
    </item>
  </channel>
</rss>

