<?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: Text key starting with 0 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064589#M925677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use a preceding LOAD with Text() function (assuming your two fields you mentioned above. If field names differ or you need to read in more fields, just adapt accordingly):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Text(Code) as Code,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;FROM TabA;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2016 23:17:19 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-04-11T23:17:19Z</dc:date>
    <item>
      <title>Text key starting with 0</title>
      <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064581#M925669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with two fields: Code and Description. In this table I have the following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code/Description&lt;/P&gt;&lt;P&gt;01/Descr1&lt;/P&gt;&lt;P&gt;001/Descr2&lt;/P&gt;&lt;P&gt;0 01/Descr3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select the 0 01 code, qlik returns Descr1, Descr2 and Descr3 as a description.&lt;/P&gt;&lt;P&gt;How can I differentiate between these codes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:1. Code is also used as a key between two tables.&lt;/P&gt;&lt;P&gt;2. I tried text(code) and '.'@code and it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&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/Text-key-starting-with-0/m-p/1064581#M925669</guid>
      <dc:creator>simonagheo</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Text key starting with 0</title>
      <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064582#M925670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dual(Text(code), RowNo()) as code&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 15:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064582#M925670</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-06T15:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Text key starting with 0</title>
      <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064583#M925671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;When you are using your current script, what do you see in your list box for &lt;EM&gt;code&lt;/EM&gt;? Only '0 01' ? &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then your values are interpreted as the same number, 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text(code) AS code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;might and should work when used in the LOAD that accesses your data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post the script code where you have tried that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to concatenate a point, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'.' &amp;amp;&lt;/STRONG&gt; code AS code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 15:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064583#M925671</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-06T15:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Text key starting with 0</title>
      <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064584#M925672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Simona,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write down listed below code in your scirpt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RowNo() &amp;amp; YourFieldName as newFieldName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 16:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064584#M925672</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-04-06T16:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Text key starting with 0</title>
      <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064585#M925673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, in my listbox is only '0 01'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script is:&lt;/P&gt;&lt;P&gt;TabA:&lt;/P&gt;&lt;P&gt;LOAD [Code1] AS Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Description]&lt;/P&gt;&lt;P&gt;FROM TabA.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TabB:&lt;/P&gt;&lt;P&gt;LOAD [Code2] AS Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [OtherInfo]&lt;/P&gt;&lt;P&gt;FROM TabB.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried: TEXT([Code1]) AS Code,TEXT([Code1]) AS Code&amp;nbsp; and '.'&amp;amp;[Code1] AS Code, '.'&amp;amp;[Code2] AS Code and both of them didn't work.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 21:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064585#M925673</guid>
      <dc:creator>simonagheo</dc:creator>
      <dc:date>2016-04-06T21:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Text key starting with 0</title>
      <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064586#M925674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the values are already wrong in your QVD (you can check this by examination of the QVD xml table meta data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you should apply the Text() function when you are loading from your original data source, like when loading from the SQL database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 21:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064586#M925674</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-06T21:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Text key starting with 0</title>
      <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064587#M925675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Simona,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do it by listed below script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dual(YourFieldName, RowNo()) As newFieldName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 16:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064587#M925675</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-04-07T16:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Text key starting with 0</title>
      <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064588#M925676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the QVDs document my script is like:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM TabA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I change this to accept the Text() function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 09:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064588#M925676</guid>
      <dc:creator>simonagheo</dc:creator>
      <dc:date>2016-04-11T09:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Text key starting with 0</title>
      <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064589#M925677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use a preceding LOAD with Text() function (assuming your two fields you mentioned above. If field names differ or you need to read in more fields, just adapt accordingly):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Text(Code) as Code,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;FROM TabA;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 23:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064589#M925677</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-11T23:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Text key starting with 0</title>
      <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064590#M925678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this solution, but it makes weird links between Tabs A and B. I think Qlik links these tables by RowNo(), not by code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064590#M925678</guid>
      <dc:creator>simonagheo</dc:creator>
      <dc:date>2016-04-12T11:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Text key starting with 0</title>
      <link>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064591#M925679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I tried this solution, but it makes weird links between Tabs A and B. I think Qlik links these tables by RowNo(), not by code.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-key-starting-with-0/m-p/1064591#M925679</guid>
      <dc:creator>simonagheo</dc:creator>
      <dc:date>2016-04-12T11:15:05Z</dc:date>
    </item>
  </channel>
</rss>

