<?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 Help with IF and Substr(), hex() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-IF-and-Substr-hex/m-p/335508#M576927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I want to create an IF similar to this one but it show anerror if I use this one don’t know &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use this expression if the date &amp;lt;= &lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;'01/08/2007'&lt;/SPAN&gt;(&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Substr&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(hex(Substr(TX_LINE_ITEMS,101,9)) andthis other (Substr(hex(Substr(TX_LINE_ITEMS,200,9)),1,15)) if date &amp;gt;'01/08/2007'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Table1:&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;load&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; *,&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Date_Transaction&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;('01/08/2007'), (&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Substr&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(hex(Substr(TX_LINE_ITEMS,101,9)),1,15)),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Substr(hex(Substr(TX_LINE_ITEMS,200,9)),1,15)))as TX_Item&lt;BR /&gt;Resident Table1;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;drop&lt;/STRONG&gt; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; Table1; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will appreciate your help.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2012 20:01:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-03T20:01:15Z</dc:date>
    <item>
      <title>Help with IF and Substr(), hex()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-IF-and-Substr-hex/m-p/335508#M576927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I want to create an IF similar to this one but it show anerror if I use this one don’t know &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use this expression if the date &amp;lt;= &lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;'01/08/2007'&lt;/SPAN&gt;(&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Substr&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(hex(Substr(TX_LINE_ITEMS,101,9)) andthis other (Substr(hex(Substr(TX_LINE_ITEMS,200,9)),1,15)) if date &amp;gt;'01/08/2007'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Table1:&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;load&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; *,&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Date_Transaction&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;('01/08/2007'), (&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Substr&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(hex(Substr(TX_LINE_ITEMS,101,9)),1,15)),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Substr(hex(Substr(TX_LINE_ITEMS,200,9)),1,15)))as TX_Item&lt;BR /&gt;Resident Table1;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;drop&lt;/STRONG&gt; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; Table1; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will appreciate your help.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 20:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-IF-and-Substr-hex/m-p/335508#M576927</guid>
      <dc:creator />
      <dc:date>2012-04-03T20:01:15Z</dc:date>
    </item>
  </channel>
</rss>

