<?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: Join Pb in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-Pb/m-p/1132492#M915647</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The result of my actual join :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125562_Capture.PNG" style="height: 115px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2016 11:25:50 GMT</pubDate>
    <dc:creator>master_student</dc:creator>
    <dc:date>2016-05-24T11:25:50Z</dc:date>
    <item>
      <title>Join Pb</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Pb/m-p/1132490#M915645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys, I really need your help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a budget file (excel) that contains the Budget by departement by month start of date :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 509px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="126"&gt;Mois&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="80"&gt;LB&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="143"&gt;&lt;SPAN class="font5"&gt;Budget &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="126"&gt;01/02/2016&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="80"&gt;achat_radio&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="143"&gt;180&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="126"&gt;01/10/2016&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="80"&gt;achat_radio&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="143"&gt;180&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="126"&gt;01/11/2016&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="80"&gt;achat_radio&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="143"&gt;180&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="126"&gt;01/07/2016&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="80"&gt;achat_radio&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="143"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I have a second table that contains the amout approved by date (calendar date)&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="114" style="width: 377px; height: 87px;" width="375"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="80"&gt;Date_DA&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="125"&gt;LB&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="126"&gt;MONTANT DA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="32" style="border-top: none;" width="80"&gt;10/01/2016&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;" width="125"&gt;public_relations&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="126"&gt;4167&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="48" style="border-top: none;" width="80"&gt;18/01/2016&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;" width="125"&gt;operational_merchandising_costs&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="126"&gt;460&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that there is no join between those two tables by the field date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="152" style="width: 594px; height: 126px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="80"&gt;Date_DA&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="126"&gt;Mois&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="80"&gt;LB&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="143"&gt;&lt;SPAN class="font5"&gt;Budget &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;" width="80"&gt; -&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="126"&gt;01/02/2016&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="80"&gt;achat_radio&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;" width="143"&gt;180&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;" width="80"&gt; -&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="126"&gt;01/10/2016&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="80"&gt;achat_radio&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;" width="143"&gt;180&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="32" style="border-top: none;" width="80"&gt; -&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="126"&gt;01/11/2016&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="80"&gt;achat_radio&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;" width="143"&gt;180&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;" width="80"&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="126"&gt;&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="80"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;" width="143"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A part of my script is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;F_SUIVI_DA:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;trim(lower(LB2)) as LB,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;AutoNumber( MakeDate( year(date([Date_DA],'DD/MM/YYYY')), Month(date([Date_DA],'DD/MM/YYYY')), day(date([Date_DA],'DD/MM/YYYY')) ) , '%Date ID') as&amp;nbsp; [%Date ID]&lt;/P&gt;&lt;P&gt;Resident F_SUIVI_DA_TMP;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;SUIVI_DA:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;'DA' as Flag,&lt;/P&gt;&lt;P&gt;ApplyMap('maptable',LB) as LBopex&lt;/P&gt;&lt;P&gt;resident F_SUIVI_DA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;PO_BUDGET:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp; AutoNumber(Date(Mois, 'DD/MM/YYYY'), '%Date ID') as&amp;nbsp; [%Date ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LBopex, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CDR&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , Mois &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Budget PO]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident PO_BUDGET_TMP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Budget par jour&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;PO_BUDGET_TMP2:&lt;/P&gt;&lt;P&gt;LOAd * &lt;/P&gt;&lt;P&gt;Resident PO_BUDGET_TMP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(PO_BUDGET_TMP2)&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp; [Month start date] as Mois&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[%Date ID]&lt;/P&gt;&lt;P&gt;Resident D_Calendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;PO_BUDGET_FCT:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [%Date ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mois &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,0 as [Budget PO]&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident PO_BUDGET_TMP2 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp; [%Date ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,LB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Mois &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Budget PO]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident PO_BUDGET;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my data model :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125549_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help please.&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/Join-Pb/m-p/1132490#M915645</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Join Pb</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Pb/m-p/1132491#M915646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2819"&gt;Fact Table with Mixed Granularity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the referenced tech doc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 10:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Pb/m-p/1132491#M915646</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-24T10:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Join Pb</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Pb/m-p/1132492#M915647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The result of my actual join :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125562_Capture.PNG" style="height: 115px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 11:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Pb/m-p/1132492#M915647</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-05-24T11:25:50Z</dc:date>
    </item>
  </channel>
</rss>

