<?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 Using Inter record data in calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Inter-record-data-in-calculation/m-p/197055#M56869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can see some yellow rows and Blue rows in buy artical available data. Is there a condition you used to make it yellow and blue. or you just colored it in your excel sheet. Qlikview wont recognize the colour from data source as far as my knowledge. if there is any condition to select those coloured boxes, then you can just let us know.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranjit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Nov 2010 17:34:52 GMT</pubDate>
    <dc:creator>renjithpl</dc:creator>
    <dc:date>2010-11-22T17:34:52Z</dc:date>
    <item>
      <title>Using Inter record data in calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Inter-record-data-in-calculation/m-p/197054#M56868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to calcualte the Available date of a top-assembly based on the Available Date of sub-assemblies and delivery of Buy articles.&lt;/P&gt;&lt;P&gt;I load the delivery dates of Buy articles and the Manufacturing Lead Time from text files.&lt;/P&gt;&lt;P&gt;I then need to calculate the Available Date of the assemblies based on the Bill of Material structure.&lt;/P&gt;&lt;P&gt;I have attached a table that hopefully explain what I'm trying to acheive.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Can this be done as an expression in a Straight Table or do I need to Load the data differently?&lt;/P&gt;&lt;P&gt;Please let me know if you have any questions as it's difficult to explain.&lt;/P&gt;&lt;P&gt;Grateful for any help!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 16:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Inter-record-data-in-calculation/m-p/197054#M56868</guid>
      <dc:creator />
      <dc:date>2010-11-22T16:42:52Z</dc:date>
    </item>
    <item>
      <title>Using Inter record data in calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Inter-record-data-in-calculation/m-p/197055#M56869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can see some yellow rows and Blue rows in buy artical available data. Is there a condition you used to make it yellow and blue. or you just colored it in your excel sheet. Qlikview wont recognize the colour from data source as far as my knowledge. if there is any condition to select those coloured boxes, then you can just let us know.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranjit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 17:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Inter-record-data-in-calculation/m-p/197055#M56869</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2010-11-22T17:34:52Z</dc:date>
    </item>
    <item>
      <title>Using Inter record data in calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Inter-record-data-in-calculation/m-p/197056#M56870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Hi Ranjit,&lt;/P&gt;&lt;P&gt;Sorry for the confusion. I only colored the data in Excel to show how I want to calculate the data.&lt;/P&gt;&lt;P&gt;Let me try and explain the data better;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top-level assembly ABxx1021A4 are built up of two sub-assemblies, ABxx0100A7 and ABxx0100A7 (same assembly but disregard this)&lt;/P&gt;&lt;P&gt;Each sub-assembly are built up with different material (colored yellow and blue in the spreadsheet just for illustration).&lt;/P&gt;&lt;P&gt;I want to calculate an Available Date for each sub-assembly and top-assembly based on the buy articles Available Date and the Mfg. LT of the assembly.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;DIV&gt;Expression for Subassembly line 9 should be something like;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;=max(Buy Article Available Date) + Process LT (but only max of data in line 4-8)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Expression for Subassembly line 2 should be something like;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;=max(Buy Article Available Date) + Process LT (but only max of data in line 10-15)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;How do I take max of a sub-set of data in an expression?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;---&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Expression for Top-assembly;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;=max of calculated Available Date for Subassemblies + Mfg. LT for top-assembly&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;How do I make an expression on a calculated data?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Alternatively if I can use;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;=max(Buy Article Available Date) + Process LT of both sub-assembly and top-assembly&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;---&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Best Regards,&lt;/DIV&gt;&lt;DIV&gt;Jonas&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what I'm trying to do is take the maximum Available Date for a level and a the manufacturing LT. Something like;&lt;/P&gt;&lt;P&gt;=max(Buy Article Available Date) + Process LT&lt;/P&gt;&lt;P&gt;The problem is that I only want to take max of a subset of data. For example, line 9 in the spreadsheet should only be max of line 10-15 as these are level 2 and belong to the above level 1.&lt;/P&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 18:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Inter-record-data-in-calculation/m-p/197056#M56870</guid>
      <dc:creator />
      <dc:date>2010-11-22T18:39:26Z</dc:date>
    </item>
  </channel>
</rss>

