<?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 fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fill-in-fields/m-p/1936717#M1219185</link>
    <description>&lt;P&gt;this means if item is a parent, aggregate the attribute column and apparently, since there is only one value for attr1 for all the children, the aggregation will return attr1 for the children, else return the attr1 which isnt aggregated.&lt;/P&gt;
&lt;P&gt;this assumes that the children will always have the same attr1&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2022 17:37:17 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2022-05-27T17:37:17Z</dc:date>
    <item>
      <title>Fill in fields</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-in-fields/m-p/1936522#M1219180</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Could someone please help me find the best way to solve this problem. I don't know if it's more convenient to do it by script or by expression.&lt;/P&gt;
&lt;P&gt;My data set is:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tina_Bran_0-1653654457783.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80475i760482DFBACEAB77/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tina_Bran_0-1653654457783.png" alt="Tina_Bran_0-1653654457783.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The objective is to complete for item 3 the data of the attribute1 and attribute2 fields with the same information that the other items have.&amp;nbsp;Then the user will be able to filter by attribute1 or attribute 2 and will not lose the record with item_p 3&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tina_Bran_1-1653654504596.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80476iA63B177BE1349A42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tina_Bran_1-1653654504596.png" alt="Tina_Bran_1-1653654504596.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards.-&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 12:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-in-fields/m-p/1936522#M1219180</guid>
      <dc:creator>Tina_Bran</dc:creator>
      <dc:date>2022-05-27T12:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Fill in fields</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-in-fields/m-p/1936715#M1219184</link>
      <description>&lt;P&gt;does this mean there is some hierarchy to the items?&amp;nbsp; that items 1 and 2 belong to item3?&amp;nbsp; this should be modeled in your DM, that there should be some attribute that says item 3 is the parent of 1 and 2.&amp;nbsp; so add a field , Relationship for example, where items 1 and 2 are children and item 3 is parent, you can create a table with the following measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;if(Relationship='parent', aggr(nodistinct concat(distinct attr1),id_p), only(attr1))&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_1-1653672742688.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80513i9C86365638CF7BCC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_1-1653672742688.png" alt="edwin_1-1653672742688.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sample data:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_2-1653672784623.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80514i9A2C128038529C54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_2-1653672784623.png" alt="edwin_2-1653672784623.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 17:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-in-fields/m-p/1936715#M1219184</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2022-05-27T17:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fill in fields</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-in-fields/m-p/1936717#M1219185</link>
      <description>&lt;P&gt;this means if item is a parent, aggregate the attribute column and apparently, since there is only one value for attr1 for all the children, the aggregation will return attr1 for the children, else return the attr1 which isnt aggregated.&lt;/P&gt;
&lt;P&gt;this assumes that the children will always have the same attr1&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 17:37:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-in-fields/m-p/1936717#M1219185</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2022-05-27T17:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fill in fields</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-in-fields/m-p/1937206#M1219204</link>
      <description>&lt;P&gt;Edwin, thanks for your answer. I was testing the expression and I find the following problem. When I filter "door" or "Window" the parent row is lost&lt;/P&gt;
&lt;P&gt;The objective of completing this data is to be able to filter and not lose the parent row.&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 11:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-in-fields/m-p/1937206#M1219204</guid>
      <dc:creator>Tina_Bran</dc:creator>
      <dc:date>2022-05-30T11:52:02Z</dc:date>
    </item>
  </channel>
</rss>

