<?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: One To Many Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080813#M926631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you happen to have a sample data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Mar 2016 13:48:07 GMT</pubDate>
    <dc:creator>sinanozdemir</dc:creator>
    <dc:date>2016-03-28T13:48:07Z</dc:date>
    <item>
      <title>One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080812#M926630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a need for a report to show invoice lines with values and show all the goods received numbers for each line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a database table with Invoice lines with a financial value.&lt;/P&gt;&lt;P&gt;Each invoice line has a unique key of invoice number and position.&lt;/P&gt;&lt;P&gt;Each invoice line can have more than one Goods Received Number against it in a list&lt;/P&gt;&lt;P&gt;on another table with no unique key but they are linked by invoice number and position. &lt;/P&gt;&lt;P&gt;One invoice position could have 5 Goods Received numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I load my invoice lines and my Goods Received table and link on on invoice number and invoice position I will get a problem.&lt;/P&gt;&lt;P&gt;The invoice line with a financial value will be displayed many times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine an invoice line for $100 with five Goods Received Numbers displayed on a sheet in a table object.&lt;/P&gt;&lt;P&gt;On my table object I will get 5 rows each for $100, each with a different Goods Received Number.&lt;/P&gt;&lt;P&gt;What I need is 1 line with $500 on the invoice line table and another table that lists the 5 Goods Received Numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can this be done?&amp;nbsp; I suspect I am missing a concept somewhere.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080812#M926630</guid>
      <dc:creator>rebelfox</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080813#M926631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you happen to have a sample data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 13:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080813#M926631</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2016-03-28T13:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080814#M926632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe you can split the $100 amount of the invoice table&lt;/P&gt;&lt;P&gt;in 5 * $ 20 amount in the records of the Goods Received table&lt;/P&gt;&lt;P&gt;this could be made in the script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 14:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080814#M926632</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-28T14:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080815#M926633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is another option at the chart level (in the attachment)&lt;/P&gt;&lt;P&gt;hope to inderstand your question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119552_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 14:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080815#M926633</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-28T14:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080816#M926634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a hasty example. &lt;/P&gt;&lt;P&gt;I added a single table object on my sheet that is made up of all columns and I got duplicate lines as expected.&lt;/P&gt;&lt;P&gt;For example I00001-001 has five rows so that looks like a value of 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If however I create a table object just for the invoices positions columns and another table object just for the&lt;/P&gt;&lt;P&gt;goods received field, I actually get what I want.&amp;nbsp; I don't get why this is the case.&amp;nbsp; I would expect the underlying&lt;/P&gt;&lt;P&gt;data to be the same in both cases.&amp;nbsp;&amp;nbsp; Do table objects de-duplicate displayed rows by default?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to upload a QVD on a posting?&amp;nbsp; I would have liked to upload my example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; Invoice_Positions:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Invoice, Invoice_Position, Invoice_Position_Value, CompositeKey&lt;BR /&gt; I00001,001, 100, I00001-001 &lt;BR /&gt; I00001,002, 200, I00001-002&amp;nbsp; &lt;BR /&gt; I00001,003, 100, I00001-003 &lt;BR /&gt; I00002,001, 10, I00002-001&amp;nbsp; &lt;BR /&gt; I00003,001, 50, I00003-001 &lt;BR /&gt; I00004,001, 100, I00004-001&amp;nbsp; &lt;BR /&gt; I00005,001, 10, I00005-001 &lt;BR /&gt; I00005,002, 80, I00005-002&amp;nbsp; &lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; Goods_Received:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; CompositeKey,Goods_Received_Number&lt;BR /&gt; I00001-001, G01&lt;BR /&gt; I00001-001, G02,&lt;BR /&gt; I00001-001, G03&lt;BR /&gt; I00001-001, G04,&lt;BR /&gt; I00001-001, G05,&lt;BR /&gt; I00001-002, G06,&lt;BR /&gt; I00002-001, G07,&lt;BR /&gt; I00005-002, G08&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 14:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080816#M926634</guid>
      <dc:creator>rebelfox</dc:creator>
      <dc:date>2016-03-28T14:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080817#M926635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 14:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080817#M926635</guid>
      <dc:creator>rebelfox</dc:creator>
      <dc:date>2016-03-28T14:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080818#M926636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can, try to upload the qvd. You should be able to upload the qvd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 14:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080818#M926636</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2016-03-28T14:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080819#M926637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK found the upload option.&amp;nbsp;&amp;nbsp; I need to use advanced editor.&amp;nbsp; See sample attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 14:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080819#M926637</guid>
      <dc:creator>rebelfox</dc:creator>
      <dc:date>2016-03-28T14:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080820#M926638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the below screenshot:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119561_Capture.PNG" style="height: 387px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;If you go to the presentation tab and check "Omit Rows Where Field is NULL" for the CompositeKey field, you will get the same results as in Table Object 2 and 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 14:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080820#M926638</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2016-03-28T14:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080821#M926639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, scratch this. I don't think this does the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 14:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080821#M926639</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2016-03-28T14:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080822#M926640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why does displaying the invoice position and Goods received data in one table object behave differently to displaying the invoice positions in one table object and the goods received table in another table object?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do Qlikview tables objects de-duplicate on rows?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 14:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080822#M926640</guid>
      <dc:creator>rebelfox</dc:creator>
      <dc:date>2016-03-28T14:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080823#M926641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK tables and Straight Tables do exclude duplicate rows on presentation.&lt;/P&gt;&lt;P&gt;I found this briefly described at &lt;A href="http://qlikviewmaven.blogspot.se/2011/07/duplicate-rows-in-qlikview-table.html"&gt;http://qlikviewmaven.blogspot.se/2011/07/duplicate-rows-in-qlikview-table.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that explains the different behaviour when splitting the results into two table objects on the sheet.&lt;/P&gt;&lt;P&gt;However if I do any total expressions anywhere on the sheet against my invoice value, it would be to high&lt;/P&gt;&lt;P&gt;counting all occurrences of the invoice position value so that is not quite right either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am kind of back where I started with a problem of a 1:M representation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 15:24:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080823#M926641</guid>
      <dc:creator>rebelfox</dc:creator>
      <dc:date>2016-03-28T15:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080824#M926642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds painful and complex.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 15:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080824#M926642</guid>
      <dc:creator>rebelfox</dc:creator>
      <dc:date>2016-03-28T15:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: One To Many Problem</title>
      <link>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080825#M926643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't see this before I responded to your prior post.&amp;nbsp; I see you have helpfully described your theory as a solution.&lt;/P&gt;&lt;P&gt;Examining now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 15:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-To-Many-Problem/m-p/1080825#M926643</guid>
      <dc:creator>rebelfox</dc:creator>
      <dc:date>2016-03-28T15:33:15Z</dc:date>
    </item>
  </channel>
</rss>

