<?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 SELECT as TEXT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SELECT-as-TEXT/m-p/148447#M26740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in one of our applications there is a SELECT from an account number. this is then paserd into level. App workfs fine but now we have a company that has accounts like '000002' and also a '2' consolidation account.&lt;/P&gt;&lt;P&gt;That 000002 consolidates into the '0' accounts.&lt;/P&gt;&lt;P&gt;Problem is that the 000002 is transformed by QV to 2. I've seen techniques that in a second table you can workarround this but ... only in a second derived table.&lt;/P&gt;&lt;P&gt;Is there a way to do this in 1 select, of then do a join of the original table to itself and then transform that field.&lt;/P&gt;&lt;P&gt;But all in the same table, other processed are doing quite some resident work on the original table.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jul 2009 19:57:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-03T19:57:21Z</dc:date>
    <item>
      <title>SELECT as TEXT</title>
      <link>https://community.qlik.com/t5/QlikView/SELECT-as-TEXT/m-p/148447#M26740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in one of our applications there is a SELECT from an account number. this is then paserd into level. App workfs fine but now we have a company that has accounts like '000002' and also a '2' consolidation account.&lt;/P&gt;&lt;P&gt;That 000002 consolidates into the '0' accounts.&lt;/P&gt;&lt;P&gt;Problem is that the 000002 is transformed by QV to 2. I've seen techniques that in a second table you can workarround this but ... only in a second derived table.&lt;/P&gt;&lt;P&gt;Is there a way to do this in 1 select, of then do a join of the original table to itself and then transform that field.&lt;/P&gt;&lt;P&gt;But all in the same table, other processed are doing quite some resident work on the original table.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 19:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SELECT-as-TEXT/m-p/148447#M26740</guid>
      <dc:creator />
      <dc:date>2009-07-03T19:57:21Z</dc:date>
    </item>
    <item>
      <title>SELECT as TEXT</title>
      <link>https://community.qlik.com/t5/QlikView/SELECT-as-TEXT/m-p/148448#M26741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All fallen foul of this one!&lt;/P&gt;&lt;P&gt;In the load specify TEXT(ACCOUNTNUMBER) as ACCOUNTNUMBER so that Qlikview leaves it alone. Otherwise Qlikview sees the value of 000002 and identifies that as a number, so treats it the sames as 2.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 22:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SELECT-as-TEXT/m-p/148448#M26741</guid>
      <dc:creator />
      <dc:date>2009-07-03T22:21:30Z</dc:date>
    </item>
    <item>
      <title>SELECT as TEXT</title>
      <link>https://community.qlik.com/t5/QlikView/SELECT-as-TEXT/m-p/148449#M26742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a LOAD ok, but in a SQL SELECT this doesn't work !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 23:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SELECT-as-TEXT/m-p/148449#M26742</guid>
      <dc:creator />
      <dc:date>2009-07-03T23:24:23Z</dc:date>
    </item>
    <item>
      <title>SELECT as TEXT</title>
      <link>https://community.qlik.com/t5/QlikView/SELECT-as-TEXT/m-p/148450#M26743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use a preceding load before your SQL Statement, it will apply any QlikView functionality on top of SQL Select:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;...,&lt;/P&gt;&lt;P&gt;text(ACC) as [Account Number],&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SQL SELECT ... , ACC, ... FROM mytable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 23:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SELECT-as-TEXT/m-p/148450#M26743</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-07-03T23:38:29Z</dc:date>
    </item>
  </channel>
</rss>

