<?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: if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/551567#M206007</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;if(left(DATE,2) &amp;lt; 90 will give you the first two, like 19 or 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Stabben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Dec 2013 10:06:21 GMT</pubDate>
    <dc:creator>stabben23</dc:creator>
    <dc:date>2013-12-10T10:06:21Z</dc:date>
    <item>
      <title>if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/551566#M206006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have the following case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereby my DATE field is not probably formatted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hence i do a transformation on the field.&lt;/P&gt;&lt;P&gt;Makedate(2000+ num(left(DATE,2)), num(mid(DATE,3,2)), num(right(DATE,2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however i have data that stretches from 1997 to 2000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i tried the following withoiut sucess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(left(DATE,2) &amp;lt; 90, &lt;/P&gt;&lt;P&gt;Makedate(2000+ num(left(DATE,2)), num(mid(DATE,3,2)), num(right(DATE,2),&lt;/P&gt;&lt;P&gt;MakeDate(1900+ num(left(DATE,2)), num(mid(DATE,3,2)),num(right(DATE,2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)))) as LeveransDatum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see application attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help is greatly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 09:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/551566#M206006</guid>
      <dc:creator />
      <dc:date>2013-12-10T09:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/551567#M206007</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;if(left(DATE,2) &amp;lt; 90 will give you the first two, like 19 or 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Stabben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 10:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/551567#M206007</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-10T10:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: if statement</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement/m-p/551568#M206008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try this instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;date(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'YYMMDD'),'YYYY-MM-DD') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LeveransDatum &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Stabben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 11:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement/m-p/551568#M206008</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-12-10T11:04:23Z</dc:date>
    </item>
  </channel>
</rss>

