<?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: Undefined function 'If' in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Undefined-function-If-in-expression/m-p/809977#M473323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2014 15:48:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-11T15:48:13Z</dc:date>
    <item>
      <title>Undefined function 'If' in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Undefined-function-If-in-expression/m-p/809975#M473321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; Hi guys,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have a database I’m extracting information from using the code below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;ODBC&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;CONNECT32&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[MS Access Database;DBQ=H:\General - Shareplan\Ad-hoc\2014\Qlikview - live\Database.mdb]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;Milestones:&lt;BR /&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;sql&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; select&lt;BR /&gt;&lt;BR /&gt;MilestoneDefID, &lt;BR /&gt;ExpectedDate, &lt;BR /&gt;CompletionDate, &lt;BR /&gt;If(MilestoneDefID = 9,[ExpectedDate],) as [9 - expected]&lt;BR /&gt;&lt;BR /&gt;FROM [Milestone]; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;It comes up with this error though.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;SQL##f - SqlState: 37000, ErrorCode: 4294964194, ErrorMsg: [Microsoft][ODBC Microsoft Access Driver] Undefined function 'If' in expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I suspect it’s because I’m using an IF statement with a SQL select statement but I’ve searched the net and can’t come up with a solution.&amp;nbsp; Can anyone help?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 15:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Undefined-function-If-in-expression/m-p/809975#M473321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-11T15:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined function 'If' in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Undefined-function-If-in-expression/m-p/809976#M473322</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;while extracting from database you won't use If statement.&lt;/P&gt;&lt;P&gt;Try this using preceeding load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H6&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;ODBC&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;SPAN style="font-family: 'Courier New';"&gt;CONNECT32&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New';"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New';"&gt;[MS Access Database;DBQ=H:\General - Shareplan\Ad-hoc\2014\Qlikview - live\Database.mdb]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H6&gt;&lt;H6&gt;&lt;STRONG style="color: #000000; font-size: 12pt; font-family: 'Courier New';"&gt;Milestones:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/H6&gt;&lt;H6&gt;&lt;STRONG style="color: #000000; font-size: 12pt; font-family: 'Courier New';"&gt;Load *, &lt;/STRONG&gt;&lt;/H6&gt;&lt;H6&gt;&lt;STRONG style="color: #000000; font-size: 12pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(MilestoneDefID = 9,[ExpectedDate],) as [9 - expected];&lt;/STRONG&gt;&lt;/H6&gt;&lt;H6&gt;&lt;STRONG style="color: #000000; font-size: 12pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;sql&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New';"&gt; select&lt;BR /&gt;&lt;BR /&gt;MilestoneDefID, &lt;BR /&gt;ExpectedDate, &lt;BR /&gt;CompletionDate, &lt;BR /&gt;&lt;BR /&gt;FROM [Milestone]; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/H6&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 15:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Undefined-function-If-in-expression/m-p/809976#M473322</guid>
      <dc:creator />
      <dc:date>2014-11-11T15:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined function 'If' in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Undefined-function-If-in-expression/m-p/809977#M473323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 15:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Undefined-function-If-in-expression/m-p/809977#M473323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-11T15:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined function 'If' in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Undefined-function-If-in-expression/m-p/809978#M473324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 15:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Undefined-function-If-in-expression/m-p/809978#M473324</guid>
      <dc:creator />
      <dc:date>2014-11-11T15:48:39Z</dc:date>
    </item>
  </channel>
</rss>

