<?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 Trailing spaces in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trailing-spaces/m-p/748240#M663201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 QVDs which contain the same field (Subledger).&amp;nbsp; The values in this field consist of 8 total characters.&amp;nbsp; In most cases it is a 4-digit number followed by 4 empty spaces.&amp;nbsp; For some reason, when QlikView loads this field from my first QVD, it left-justifies the values.&amp;nbsp; But when QV pulls in the same value from my second QVD, it right-justifies the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See screenshot:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78479_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Notice that each value is 8 characters long and the '0001' is in the first 4 positions followed by 4 empty spaces.&amp;nbsp; In the first QVD, the values are generated and intentionally made as text ( text('00'&amp;amp;Trim(UserDefinedCode)&amp;amp;'&amp;nbsp;&amp;nbsp;&amp;nbsp; ') as Subledger).&amp;nbsp; The second QVD is a system generated QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what I can do to make QV treat values from both tables the same?&amp;nbsp; Hope this question makes sense . . . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2015 22:24:21 GMT</pubDate>
    <dc:creator>nayrlloyd</dc:creator>
    <dc:date>2015-02-18T22:24:21Z</dc:date>
    <item>
      <title>Trailing spaces</title>
      <link>https://community.qlik.com/t5/QlikView/Trailing-spaces/m-p/748240#M663201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 QVDs which contain the same field (Subledger).&amp;nbsp; The values in this field consist of 8 total characters.&amp;nbsp; In most cases it is a 4-digit number followed by 4 empty spaces.&amp;nbsp; For some reason, when QlikView loads this field from my first QVD, it left-justifies the values.&amp;nbsp; But when QV pulls in the same value from my second QVD, it right-justifies the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See screenshot:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78479_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Notice that each value is 8 characters long and the '0001' is in the first 4 positions followed by 4 empty spaces.&amp;nbsp; In the first QVD, the values are generated and intentionally made as text ( text('00'&amp;amp;Trim(UserDefinedCode)&amp;amp;'&amp;nbsp;&amp;nbsp;&amp;nbsp; ') as Subledger).&amp;nbsp; The second QVD is a system generated QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what I can do to make QV treat values from both tables the same?&amp;nbsp; Hope this question makes sense . . . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 22:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trailing-spaces/m-p/748240#M663201</guid>
      <dc:creator>nayrlloyd</dc:creator>
      <dc:date>2015-02-18T22:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Trailing spaces</title>
      <link>https://community.qlik.com/t5/QlikView/Trailing-spaces/m-p/748241#M663202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, by default the text is left-aligned, and the numbers are right-aligned.&amp;nbsp; You have options:&lt;/P&gt;&lt;P&gt;1. Use text in both cases&lt;/P&gt;&lt;P&gt;2. Use number in both cases&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Keep as is, text and number, but change alignment in the table properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 22:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trailing-spaces/m-p/748241#M663202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-18T22:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trailing spaces</title>
      <link>https://community.qlik.com/t5/QlikView/Trailing-spaces/m-p/748242#M663203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with a &lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;STRONG&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp; ' &amp;amp; '00' &amp;amp; trim(UserDefinedCode) as Subledger&lt;/STRONG&gt; inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;UserDefinedCode&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 01&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;instead of &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;text('00'&amp;amp;Trim(UserDefinedCode)&amp;amp;'&amp;nbsp;&amp;nbsp;&amp;nbsp; ') as Subledger&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I get a right aligned '&amp;nbsp;&amp;nbsp;&amp;nbsp; 0001'.&lt;/P&gt;&lt;P&gt;It should match with your second row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 22:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trailing-spaces/m-p/748242#M663203</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-18T22:47:32Z</dc:date>
    </item>
  </channel>
</rss>

