<?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: Calculate a new field via date range lookup in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-a-new-field-via-date-range-lookup/m-p/2479012#M100548</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Unbenannt.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171156i73E8F978F0441848/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;I think my phrasing is a bit confusing, I hope this helps understanding my "problem". (Edit: date format is DD.MM.YYYY)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 31 Aug 2024 10:53:20 GMT</pubDate>
    <dc:creator>samba</dc:creator>
    <dc:date>2024-08-31T10:53:20Z</dc:date>
    <item>
      <title>Calculate a new field via date range lookup</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-a-new-field-via-date-range-lookup/m-p/2478727#M100507</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm rather new to Qlik Sense and currently building an analytics app for my purchasing department.&lt;BR /&gt;I have a large order table with lots of columns and one or more rows per order. Important for this case are the following fields, but there are more:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;OrderID, Order Date, Contract (Y/N), Contract ID, Contract valid from, Contract valid to, Product, Location, Order amount (calculated), Quantity ordered, Price per item.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;My task is to see how our contract orders are performing against our spot orders.&lt;/P&gt;
&lt;P&gt;For each contract I have to lookup all spot orders with the same product and same location within the validity range of the specific contract. And of these spot orders I have to get the total quantity and calculate the weighted average price per item and compare it against our contract price per item.&lt;/P&gt;
&lt;P&gt;I tried Intervalmatch but it did not work for me especially with all the conditions and is probably the wrong way?&lt;/P&gt;
&lt;P&gt;Thanks for any input!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 14:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-a-new-field-via-date-range-lookup/m-p/2478727#M100507</guid>
      <dc:creator>samba</dc:creator>
      <dc:date>2024-08-29T14:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a new field via date range lookup</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-a-new-field-via-date-range-lookup/m-p/2478740#M100515</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/304013"&gt;@samba&lt;/a&gt;&amp;nbsp; please share sample excel file with some data and expected output&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 15:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-a-new-field-via-date-range-lookup/m-p/2478740#M100515</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-08-29T15:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a new field via date range lookup</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-a-new-field-via-date-range-lookup/m-p/2479012#M100548</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Unbenannt.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171156i73E8F978F0441848/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;I think my phrasing is a bit confusing, I hope this helps understanding my "problem". (Edit: date format is DD.MM.YYYY)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2024 10:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-a-new-field-via-date-range-lookup/m-p/2479012#M100548</guid>
      <dc:creator>samba</dc:creator>
      <dc:date>2024-08-31T10:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a new field via date range lookup</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-a-new-field-via-date-range-lookup/m-p/2479125#M100558</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/304013"&gt;@samba&lt;/a&gt;&amp;nbsp; How do you know that data with flag 'N' corresponds to contact id 1A or 1B because for those records contact id is NULL&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 10:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-a-new-field-via-date-range-lookup/m-p/2479125#M100558</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-09-02T10:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a new field via date range lookup</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-a-new-field-via-date-range-lookup/m-p/2479128#M100559</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;They do not correspond directly. For every 'Y' flagged row I want to use all 'N' flagged rows within the validity range of the 'Y' flagged row&amp;nbsp; (with the same location and product as additional conditions).&lt;/P&gt;
&lt;P&gt;In other words: For every 'Y' flagged row lookup sum of &lt;EM&gt;order amount&lt;/EM&gt; and sum of &lt;EM&gt;quantity ordered&lt;/EM&gt; of all 'N' flagged rows with &lt;EM&gt;order date &lt;/EM&gt;&amp;gt;= &lt;EM&gt;contract validity from&lt;/EM&gt;&amp;nbsp;and &lt;EM&gt;order date&lt;/EM&gt; &amp;lt;= &lt;EM&gt;contract validity to &lt;/EM&gt;and identical location and product.&lt;/P&gt;
&lt;P&gt;It's also for me quite confusing to phrase it correctly, sorry.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 10:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-a-new-field-via-date-range-lookup/m-p/2479128#M100559</guid>
      <dc:creator>samba</dc:creator>
      <dc:date>2024-09-02T10:33:08Z</dc:date>
    </item>
  </channel>
</rss>

