<?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: Duplicate data / use data from another ID in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Duplicate-data-use-data-from-another-ID/m-p/2532079#M108070</link>
    <description>&lt;P&gt;How do you want to select this?&amp;nbsp;Dynamicly in the app or when loading the the data?&lt;/P&gt;&lt;P&gt;You could do this in the script by configuring the relationship in a structured way and then adding that into the table2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Location,&lt;/P&gt;&lt;P&gt;Line as ValueLine,&lt;/P&gt;&lt;P&gt;Product,&lt;/P&gt;&lt;P&gt;Value&lt;/P&gt;&lt;P&gt;From table1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Location,&lt;/P&gt;&lt;P&gt;Line,&lt;/P&gt;&lt;P&gt;Product,&lt;/P&gt;&lt;P&gt;Volume,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;some logic based that defines which valueLine&amp;gt; as valueLine&lt;/P&gt;&lt;P&gt;From table2;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Sep 2025 21:45:45 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2025-09-29T21:45:45Z</dc:date>
    <item>
      <title>Duplicate data / use data from another ID</title>
      <link>https://community.qlik.com/t5/App-Development/Duplicate-data-use-data-from-another-ID/m-p/2532078#M108069</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have searched and I don't think I am using the correct key words to get the solution I am looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data in Table1 that looks like this:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Location&lt;/TD&gt;&lt;TD&gt;Line&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;1.23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;1.24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;1.22&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data in Table2 that looks like this:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Location&lt;/TD&gt;&lt;TD&gt;Line&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Volume&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run all of my loads, run calcs and put into a straight table , I am getting the following (correct) data:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Location&lt;/TD&gt;&lt;TD&gt;Line&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Volume&lt;/TD&gt;&lt;TD&gt;Avg Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;1.23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The summary is correct and the data is loading correctly.&amp;nbsp; The problem is that my data sources are not perfect due to the back end systems.&amp;nbsp; In this case, "Line" is the problem.&amp;nbsp; I have the "values" being generated on a common production line, which is then split into three finishing lines.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="butter_0-1759180872781.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183904i48A523009560255A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="butter_0-1759180872781.png" alt="butter_0-1759180872781.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can I load or use the values from Line 1 on lines 2 &amp;amp;3?&amp;nbsp; I want the table to look like:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Location&lt;/TD&gt;&lt;TD&gt;Line&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Volume&lt;/TD&gt;&lt;TD&gt;Avg Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;1.23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;1.23&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;1.23&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially I want to load extra data or load it twice/three times.&amp;nbsp; It is NOT always a case where Line 1 = Line 2 = Line 3, so I want to be able to select when I do this...&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 21:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Duplicate-data-use-data-from-another-ID/m-p/2532078#M108069</guid>
      <dc:creator>butter</dc:creator>
      <dc:date>2025-09-29T21:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate data / use data from another ID</title>
      <link>https://community.qlik.com/t5/App-Development/Duplicate-data-use-data-from-another-ID/m-p/2532079#M108070</link>
      <description>&lt;P&gt;How do you want to select this?&amp;nbsp;Dynamicly in the app or when loading the the data?&lt;/P&gt;&lt;P&gt;You could do this in the script by configuring the relationship in a structured way and then adding that into the table2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Location,&lt;/P&gt;&lt;P&gt;Line as ValueLine,&lt;/P&gt;&lt;P&gt;Product,&lt;/P&gt;&lt;P&gt;Value&lt;/P&gt;&lt;P&gt;From table1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Location,&lt;/P&gt;&lt;P&gt;Line,&lt;/P&gt;&lt;P&gt;Product,&lt;/P&gt;&lt;P&gt;Volume,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;some logic based that defines which valueLine&amp;gt; as valueLine&lt;/P&gt;&lt;P&gt;From table2;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 21:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Duplicate-data-use-data-from-another-ID/m-p/2532079#M108070</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2025-09-29T21:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate data / use data from another ID</title>
      <link>https://community.qlik.com/t5/App-Development/Duplicate-data-use-data-from-another-ID/m-p/2532081#M108071</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;I am ok to do this at loading time as you show above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would assume the logic would be something like:&lt;/P&gt;&lt;P&gt;If ( location = 'A' AND ValueLine = '1', true, false)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for conditions of true, how to do I duplicate the data?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 22:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Duplicate-data-use-data-from-another-ID/m-p/2532081#M108071</guid>
      <dc:creator>butter</dc:creator>
      <dc:date>2025-09-29T22:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate data / use data from another ID</title>
      <link>https://community.qlik.com/t5/App-Development/Duplicate-data-use-data-from-another-ID/m-p/2532103#M108073</link>
      <description>&lt;P&gt;where have you calculated avg() front end or Script?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 08:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Duplicate-data-use-data-from-another-ID/m-p/2532103#M108073</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2025-09-30T08:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate data / use data from another ID</title>
      <link>https://community.qlik.com/t5/App-Development/Duplicate-data-use-data-from-another-ID/m-p/2532140#M108083</link>
      <description>&lt;P&gt;I am calculating the average in the script using a master item measure.&amp;nbsp; I am allowing the user to filter by a date range and then displaying the avg() in a straight table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 16:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Duplicate-data-use-data-from-another-ID/m-p/2532140#M108083</guid>
      <dc:creator>butter</dc:creator>
      <dc:date>2025-09-30T16:56:31Z</dc:date>
    </item>
  </channel>
</rss>

