<?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: Fill in blanks with the max value grouped by ID in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Fill-in-blanks-with-the-max-value-grouped-by-ID/m-p/1777305#M60297</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Peek-Function-multiple-rows/td-p/1777234" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/Peek-Function-multiple-rows/td-p/1777234&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ksrinivasan&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2021 04:40:53 GMT</pubDate>
    <dc:creator>Ksrinivasan</dc:creator>
    <dc:date>2021-01-26T04:40:53Z</dc:date>
    <item>
      <title>Fill in blanks with the max value grouped by ID</title>
      <link>https://community.qlik.com/t5/App-Development/Fill-in-blanks-with-the-max-value-grouped-by-ID/m-p/1777260#M60290</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BonganiButh_0-1611604640633.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/47751i4422702152491190/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BonganiButh_0-1611604640633.png" alt="BonganiButh_0-1611604640633.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do&amp;nbsp; i go about filling in all the missing values in 'Avg_Cost' with the known max value as seen in the above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the below but no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD [request id],&lt;BR /&gt;[order id],&lt;BR /&gt;line,&lt;BR /&gt;[customer ref],&lt;BR /&gt;repair_type,&lt;BR /&gt;Repair_class,&lt;BR /&gt;[order status],&lt;BR /&gt;[order stat],&lt;BR /&gt;[product id],&lt;BR /&gt;Product_Name,&lt;BR /&gt;Avg_Cost,&lt;BR /&gt;Repair_Age_in_Days,&lt;BR /&gt;warehouse_id,&lt;BR /&gt;station_id,&lt;BR /&gt;ID,&lt;BR /&gt;ID_1,&lt;BR /&gt;allocated_qty,&lt;BR /&gt;qty,&lt;BR /&gt;in_bound_qty,&lt;BR /&gt;out_bound_qty,&lt;BR /&gt;qty_at_repair_vendor,&lt;BR /&gt;qty_at_customer,&lt;BR /&gt;[assigned name],&lt;BR /&gt;[assigned to],&lt;BR /&gt;[action group name],&lt;BR /&gt;[action group id],&lt;BR /&gt;Bytes_Region,&lt;BR /&gt;IMO,&lt;BR /&gt;IMO_status_id,&lt;BR /&gt;IMO_status,&lt;BR /&gt;primary_IMO,&lt;BR /&gt;Primary_IMO_Status_id,&lt;BR /&gt;Primary_IMO_Status,&lt;BR /&gt;fr_warehouse_id,&lt;BR /&gt;to_warehouse_id,&lt;BR /&gt;fExceptions,&lt;BR /&gt;RESPONSIBILITY,&lt;BR /&gt;ACTION,&lt;BR /&gt;Operation,&lt;BR /&gt;ID2,&lt;BR /&gt;carrier_id,&lt;BR /&gt;carrier_ref_no,&lt;BR /&gt;Ageing_category,&lt;BR /&gt;AgeRank,&lt;BR /&gt;Owner,&lt;BR /&gt;Tracking_no;&lt;/P&gt;&lt;P&gt;[OpenRepairOrders]:&lt;BR /&gt;SELECT "request id",&lt;BR /&gt;"order id",&lt;BR /&gt;line,&lt;BR /&gt;"customer ref",&lt;BR /&gt;"repair_type",&lt;BR /&gt;"Repair_class",&lt;BR /&gt;"order status",&lt;BR /&gt;"order stat",&lt;BR /&gt;"product id",&lt;BR /&gt;"Product_Name",&lt;BR /&gt;"Avg_Cost",&lt;BR /&gt;"Repair_Age_in_Days",&lt;BR /&gt;"warehouse_id",&lt;BR /&gt;"station_id",&lt;BR /&gt;ID,&lt;BR /&gt;"ID_1",&lt;BR /&gt;"allocated_qty",&lt;BR /&gt;qty,&lt;BR /&gt;"in_bound_qty",&lt;BR /&gt;"out_bound_qty",&lt;BR /&gt;"qty_at_repair_vendor",&lt;BR /&gt;"qty_at_customer",&lt;BR /&gt;"assigned name",&lt;BR /&gt;"assigned to",&lt;BR /&gt;"action group name",&lt;BR /&gt;"action group id",&lt;BR /&gt;"Bytes_Region",&lt;BR /&gt;IMO,&lt;BR /&gt;"IMO_status_id",&lt;BR /&gt;"IMO_status",&lt;BR /&gt;"primary_IMO",&lt;BR /&gt;"Primary_IMO_Status_id",&lt;BR /&gt;"Primary_IMO_Status",&lt;BR /&gt;"fr_warehouse_id",&lt;BR /&gt;"to_warehouse_id",&lt;BR /&gt;fExceptions,&lt;BR /&gt;RESPONSIBILITY,&lt;BR /&gt;"ACTION",&lt;BR /&gt;Operation,&lt;BR /&gt;ID2,&lt;BR /&gt;"carrier_id",&lt;BR /&gt;"carrier_ref_no",&lt;BR /&gt;"Ageing_category",&lt;BR /&gt;AgeRank,&lt;BR /&gt;Owner,&lt;BR /&gt;"Tracking_no"&lt;BR /&gt;FROM AsteaMSBISDB.dbo.OpenRepairOrders;&lt;/P&gt;&lt;P&gt;LEFT JOIN (OpenRepairOrders)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[MaxCost]:&lt;BR /&gt;LOAD [order id],&lt;BR /&gt;if(len(trim(Avg_Cost))=null() and [product id]=peek([product id]), Peek(MaxFiled), Alt(Avg_Cost,0)) as MaxAvg,&lt;BR /&gt;&lt;BR /&gt;[product id]&lt;BR /&gt;Resident [OpenRepairOrders];&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 19:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fill-in-blanks-with-the-max-value-grouped-by-ID/m-p/1777260#M60290</guid>
      <dc:creator>BonganiButh</dc:creator>
      <dc:date>2021-01-25T19:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Fill in blanks with the max value grouped by ID</title>
      <link>https://community.qlik.com/t5/App-Development/Fill-in-blanks-with-the-max-value-grouped-by-ID/m-p/1777305#M60297</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Peek-Function-multiple-rows/td-p/1777234" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/Peek-Function-multiple-rows/td-p/1777234&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ksrinivasan&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 04:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fill-in-blanks-with-the-max-value-grouped-by-ID/m-p/1777305#M60297</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-01-26T04:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fill in blanks with the max value grouped by ID</title>
      <link>https://community.qlik.com/t5/App-Development/Fill-in-blanks-with-the-max-value-grouped-by-ID/m-p/1777385#M60312</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80712"&gt;@Ksrinivasan&lt;/a&gt;&amp;nbsp; This help me resolve the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 11:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fill-in-blanks-with-the-max-value-grouped-by-ID/m-p/1777385#M60312</guid>
      <dc:creator>BonganiButh</dc:creator>
      <dc:date>2021-01-26T11:49:47Z</dc:date>
    </item>
  </channel>
</rss>

