<?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 Joining 2 tables on specific date condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Joining-2-tables-on-specific-date-condition/m-p/2126555#M91680</link>
    <description>&lt;P&gt;In Qlik Sense I have these tables: &lt;BR /&gt;Costing: &lt;BR /&gt;Load &lt;BR /&gt;OBJNR, &lt;BR /&gt;Order, &lt;BR /&gt;OrderType, &lt;BR /&gt;MaterialGroup, &lt;BR /&gt;Material, &lt;BR /&gt;Description, &lt;BR /&gt;PostingDate, &lt;BR /&gt;Quantity, &lt;BR /&gt;UnitOfMeasure, &lt;BR /&gt;B_MAT_ORD, &lt;BR /&gt;B_TIM_ORD, &lt;BR /&gt;B_TOT_ORD, &lt;BR /&gt;B_MAT_COS, &lt;BR /&gt;B_TIM_COS, &lt;BR /&gt;B_TOT_COS, &lt;BR /&gt;A_MAT_ORD, &lt;BR /&gt;A_TIM_ORD, &lt;BR /&gt;A_TOT_ORD, &lt;BR /&gt;DIFF_MAT_ORD, &lt;BR /&gt;DIFF_TIM_ORD, &lt;BR /&gt;DIFF_TOT_ORD &lt;BR /&gt;From $(vPadQVD)MTO_Costing.qvd(qvd);&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;SalesBudget: &lt;BR /&gt;Load &lt;BR /&gt;sales_price_valid_from, &lt;BR /&gt;Material, &lt;BR /&gt;B_TIM_H_PROD_SAL, &lt;BR /&gt;B_TIME_H_ENG_SAL, &lt;BR /&gt;B_SMALL_PART_SAL, &lt;BR /&gt;B_UL_PLATE_SAL, &lt;BR /&gt;B_MAT_SAL, &lt;BR /&gt;B_MAT_TOT_SAL, &lt;BR /&gt;B_TIM_PROD_SAL, &lt;BR /&gt;B_TIM_ENG_SAL, &lt;BR /&gt;B_TIM_TOT_SAL, &lt;BR /&gt;B_TOT_SAL, &lt;BR /&gt;B_MARG_PERC_SAL, &lt;BR /&gt;B_MARG_SAL, &lt;BR /&gt;B_PRICE_SAL &lt;BR /&gt;From $(vPadQVD)MTO_Sales_Budget.qvd(qvd);&lt;/P&gt;
&lt;P&gt;The key is field Material. &lt;BR /&gt;Table SalesBudget can have multiple rows with the same value for Material, with each a different date value in sales_price_valid_from.&lt;BR /&gt;I want to add the fields of table SalesBudget to table Costing, &lt;BR /&gt;where the date in sales_price_valid_from of table SalesBudget is the MOST RECENT AND BEFORE the date PostingDate of table Costing. &lt;BR /&gt;How do I do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;McDanny&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 10:30:29 GMT</pubDate>
    <dc:creator>McDanny</dc:creator>
    <dc:date>2023-10-09T10:30:29Z</dc:date>
    <item>
      <title>Joining 2 tables on specific date condition</title>
      <link>https://community.qlik.com/t5/App-Development/Joining-2-tables-on-specific-date-condition/m-p/2126555#M91680</link>
      <description>&lt;P&gt;In Qlik Sense I have these tables: &lt;BR /&gt;Costing: &lt;BR /&gt;Load &lt;BR /&gt;OBJNR, &lt;BR /&gt;Order, &lt;BR /&gt;OrderType, &lt;BR /&gt;MaterialGroup, &lt;BR /&gt;Material, &lt;BR /&gt;Description, &lt;BR /&gt;PostingDate, &lt;BR /&gt;Quantity, &lt;BR /&gt;UnitOfMeasure, &lt;BR /&gt;B_MAT_ORD, &lt;BR /&gt;B_TIM_ORD, &lt;BR /&gt;B_TOT_ORD, &lt;BR /&gt;B_MAT_COS, &lt;BR /&gt;B_TIM_COS, &lt;BR /&gt;B_TOT_COS, &lt;BR /&gt;A_MAT_ORD, &lt;BR /&gt;A_TIM_ORD, &lt;BR /&gt;A_TOT_ORD, &lt;BR /&gt;DIFF_MAT_ORD, &lt;BR /&gt;DIFF_TIM_ORD, &lt;BR /&gt;DIFF_TOT_ORD &lt;BR /&gt;From $(vPadQVD)MTO_Costing.qvd(qvd);&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;SalesBudget: &lt;BR /&gt;Load &lt;BR /&gt;sales_price_valid_from, &lt;BR /&gt;Material, &lt;BR /&gt;B_TIM_H_PROD_SAL, &lt;BR /&gt;B_TIME_H_ENG_SAL, &lt;BR /&gt;B_SMALL_PART_SAL, &lt;BR /&gt;B_UL_PLATE_SAL, &lt;BR /&gt;B_MAT_SAL, &lt;BR /&gt;B_MAT_TOT_SAL, &lt;BR /&gt;B_TIM_PROD_SAL, &lt;BR /&gt;B_TIM_ENG_SAL, &lt;BR /&gt;B_TIM_TOT_SAL, &lt;BR /&gt;B_TOT_SAL, &lt;BR /&gt;B_MARG_PERC_SAL, &lt;BR /&gt;B_MARG_SAL, &lt;BR /&gt;B_PRICE_SAL &lt;BR /&gt;From $(vPadQVD)MTO_Sales_Budget.qvd(qvd);&lt;/P&gt;
&lt;P&gt;The key is field Material. &lt;BR /&gt;Table SalesBudget can have multiple rows with the same value for Material, with each a different date value in sales_price_valid_from.&lt;BR /&gt;I want to add the fields of table SalesBudget to table Costing, &lt;BR /&gt;where the date in sales_price_valid_from of table SalesBudget is the MOST RECENT AND BEFORE the date PostingDate of table Costing. &lt;BR /&gt;How do I do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;McDanny&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 10:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Joining-2-tables-on-specific-date-condition/m-p/2126555#M91680</guid>
      <dc:creator>McDanny</dc:creator>
      <dc:date>2023-10-09T10:30:29Z</dc:date>
    </item>
  </channel>
</rss>

