<?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: Operand Type Clash Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Operand-Type-Clash-Error/m-p/1396390#M812697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp; It worked.&amp;nbsp; I added Apostrophe on the variable &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;AsAtDate &amp;gt;= '$(vMaxDate)'&amp;nbsp; &lt;/STRONG&gt;in the where clause.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Kind regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Nayan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Sep 2017 09:52:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-22T09:52:57Z</dc:date>
    <item>
      <title>Operand Type Clash Error</title>
      <link>https://community.qlik.com/t5/QlikView/Operand-Type-Clash-Error/m-p/1396386#M812693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need assistance with an Operand Type Clash Error.&amp;nbsp; Basically, I have a script where data should only load for the maximum date.&amp;nbsp; Below is the script and the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you assist as to why i get this error and how to rectify it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TMP:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; max(AsAtDate) as MaxAsAtDate;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "Procurement_ODS".dbo."Business_Unit_Table";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMaxDate = Date(peek('MaxAsAtDate',0,'TMP'),'YYYY/MM/DD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table TMP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD BusinessUnitId as SEGMENT2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BusinessUnitName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SegmentID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SegmentName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AsAtDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SegmentNameNew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SegmentIDNew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Brand,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "BBBEE_IND";&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "Procurement_ODS".dbo."Business_Unit_Table"&lt;/P&gt;&lt;P&gt;where SegmentNameNew &amp;lt;&amp;gt; '%global%' and BusinessUnitId &amp;lt;&amp;gt; '6270' and BusinessUnitId &amp;lt;&amp;gt; '8430'&amp;nbsp; and AsAtDate &amp;gt;= $(vMaxDate)&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;IMG alt="Operand Type Clash Error.PNG" class="jive-image image-1" src="/legacyfs/online/177435_Operand Type Clash Error.PNG" style="height: 184px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Operand-Type-Clash-Error/m-p/1396386#M812693</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Operand Type Clash Error</title>
      <link>https://community.qlik.com/t5/QlikView/Operand-Type-Clash-Error/m-p/1396387#M812694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suggest to check the spelling of dates in your SQL-Table, may also be needed to be included in apostrophs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 09:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Operand-Type-Clash-Error/m-p/1396387#M812694</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2017-09-22T09:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Operand Type Clash Error</title>
      <link>https://community.qlik.com/t5/QlikView/Operand-Type-Clash-Error/m-p/1396388#M812695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the date format of both (i.e ASdate and variable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the where condition give like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AsAtDate &amp;gt;= '$(vMaxDate)';&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 09:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Operand-Type-Clash-Error/m-p/1396388#M812695</guid>
      <dc:creator>hari8088</dc:creator>
      <dc:date>2017-09-22T09:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Operand Type Clash Error</title>
      <link>https://community.qlik.com/t5/QlikView/Operand-Type-Clash-Error/m-p/1396389#M812696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to debug the application&amp;nbsp; to know where exactly it is stopping you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by that you can identify the issue easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and chek the variable&amp;nbsp;&amp;nbsp; missing single quotes i believe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 09:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Operand-Type-Clash-Error/m-p/1396389#M812696</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2017-09-22T09:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Operand Type Clash Error</title>
      <link>https://community.qlik.com/t5/QlikView/Operand-Type-Clash-Error/m-p/1396390#M812697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp; It worked.&amp;nbsp; I added Apostrophe on the variable &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;AsAtDate &amp;gt;= '$(vMaxDate)'&amp;nbsp; &lt;/STRONG&gt;in the where clause.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Kind regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Nayan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 09:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Operand-Type-Clash-Error/m-p/1396390#M812697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-22T09:52:57Z</dc:date>
    </item>
  </channel>
</rss>

