<?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: LEFT JOIN PROBLEMS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LEFT-JOIN-PROBLEMS/m-p/1271655#M399976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks perfectly alright to me... do you have some example app to share?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked that you get any actual match on all the fields between the two tables? If there is no match the TIPO_LANCAMENTO will be empty - that is how a left join works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Mar 2017 23:11:39 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2017-03-10T23:11:39Z</dc:date>
    <item>
      <title>LEFT JOIN PROBLEMS</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-JOIN-PROBLEMS/m-p/1271654#M399975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying a left join to get just one field from one table to put another, but the field is empty after join. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EFINAL:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMERO_BANCO , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMERO_AGENCIA , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMERO_CONTA , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA_LANCAMENTO , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMERO_DOCUMENTO , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DESCRICAO_LANCAMENTO , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NATUREZA_LANCAMENTO&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\QVD\EXTRATO_DETALHADO.QVD]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXTRATO:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMERO_BANCO , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMERO_AGENCIA , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMERO_CONTA , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA_LANCAMENTO , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMERO_DOCUMENTO , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DESCRICAO_LANCAMENTO , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NATUREZA_LANCAMENTO ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIPO_LANCAMENTO&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\QVD\EXTRATO.QVD]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE EFINAL INTO [..\QVD\EFINAL.QVD];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 22:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-JOIN-PROBLEMS/m-p/1271654#M399975</guid>
      <dc:creator>paulosrl</dc:creator>
      <dc:date>2017-03-10T22:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT JOIN PROBLEMS</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-JOIN-PROBLEMS/m-p/1271655#M399976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks perfectly alright to me... do you have some example app to share?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked that you get any actual match on all the fields between the two tables? If there is no match the TIPO_LANCAMENTO will be empty - that is how a left join works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 23:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-JOIN-PROBLEMS/m-p/1271655#M399976</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-03-10T23:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT JOIN PROBLEMS</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-JOIN-PROBLEMS/m-p/1271656#M399977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petter, the problem is the data content, there are some data using '000' left other no! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; . I need clean the database or try using&amp;nbsp; somenthing like Purgechar(num(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;NUMERO_CONTA &lt;/SPAN&gt;,'00000000000000000000'),'') as Conta.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem stay in all fields &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ...'0000' left ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Mar 2017 12:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-JOIN-PROBLEMS/m-p/1271656#M399977</guid>
      <dc:creator>paulosrl</dc:creator>
      <dc:date>2017-03-11T12:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT JOIN PROBLEMS</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-JOIN-PROBLEMS/m-p/1271657#M399978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paulo, if the first character expected is a number distinct than zero (not a letter) you can use:&lt;/P&gt;&lt;P&gt;Mid(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;NUMERO_CONTA&lt;/SPAN&gt;, FindOneOf(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;NUMERO_CONTA&lt;/SPAN&gt;, '123456789')) as ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Mar 2017 15:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-JOIN-PROBLEMS/m-p/1271657#M399978</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-03-11T15:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT JOIN PROBLEMS</title>
      <link>https://community.qlik.com/t5/QlikView/LEFT-JOIN-PROBLEMS/m-p/1271658#M399979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It that what you are struggling with here is the number formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The quickest way to solve this is to force QlikView to format you numbers in a "standard" way instead of it trying to intelligently keep the number format that is in your source data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your load script you can do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(NUMERO_CONTA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then QlikView will use the number format that is specified in your SET environment variable that would be the same as the setting on your Windows computer. If you put in the string with a lot of zeros what QlikView will then do is to have a lot of preceding zeros for all of your numbers which is probably not your intention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 11:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LEFT-JOIN-PROBLEMS/m-p/1271658#M399979</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-03-15T11:46:36Z</dc:date>
    </item>
  </channel>
</rss>

