<?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: Two Key Field more Tables without Circular Loop in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649458#M48432</link>
    <description>&lt;P&gt;By the simple association between two tables you could just create a composite key from your multiple key-fields. But if you have two fact-tables which needs to be connected to eachother and at the same time to further dimension-tables ... it's not possible in a classical way.&lt;/P&gt;&lt;P&gt;A common approach to handle such a scenario is the use of a link-table - but it needs some efforts to create it and from a UI performance point of view it's often not the best choice.&lt;/P&gt;&lt;P&gt;Therefore my suggestion to merge the fact-tables which could be done by various join/mapping measurements (which is usually quite complex but results in the smallest datamodel and best UI performance) - or much simpler by just concatenating the fact-tables. This approach might look "ugly" from a pure theoretical datamodeling point of view (especially with a sql-background) but it's very easy and the performance is usually more as sufficient.&lt;/P&gt;&lt;P&gt;Should you decide against a merging of tables and also against the link-table you need in each case to consider the possibility that there are current data which have no plan data or reverse - which is a quite common use-case and which couldn't be handled in any way with associating the tables.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2019 08:30:43 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2019-11-21T08:30:43Z</dc:date>
    <item>
      <title>Two Key Field more Tables without Circular Loop</title>
      <link>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649038#M48382</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm searching a solution to the problem below. I built a database, and now I need to link a plan table which contains plan values. How can I do this without "loop"? I would like to filter dates, tags etc. in Analysis after.&lt;/P&gt;&lt;P&gt;Important: one EXP ACC LINES ID can have multiple TAG ID.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="exp_acc.png" style="width: 650px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24055i01C405DDFC06D921/image-size/large?v=v2&amp;amp;px=999" role="button" title="exp_acc.png" alt="exp_acc.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649038#M48382</guid>
      <dc:creator>TakacsZsolt</dc:creator>
      <dc:date>2024-11-16T04:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Two Key Field more Tables without Circular Loop</title>
      <link>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649111#M48398</link>
      <description>&lt;P&gt;The easiest way is not to join and/or to associate both fact-tables else to concatenate (UNION in sql) them.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 13:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649111#M48398</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-11-20T13:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Two Key Field more Tables without Circular Loop</title>
      <link>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649132#M48403</link>
      <description>&lt;P&gt;Dear Marcus,&lt;/P&gt;&lt;P&gt;EXP ACC LINES has unique rows, but it may happen that one row has more TAG ID. If I use Concatenate unique rows will be&amp;nbsp;multiplyed, and the consequence of this the values will be&amp;nbsp;multiplyed too (SUM(NET VALUE) return 1000 instead of 500). Or am I wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 13:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649132#M48403</guid>
      <dc:creator>TakacsZsolt</dc:creator>
      <dc:date>2019-11-20T13:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Two Key Field more Tables without Circular Loop</title>
      <link>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649145#M48407</link>
      <description>&lt;P&gt;No, that shouldn't happens - and without merging the measure-fields into a single field (requires an extra field which identified the measure-type respectively the data-source) the measures aren't touched in any way because for the net-data you used:&lt;/P&gt;&lt;P&gt;sum([NET VALUE])&lt;/P&gt;&lt;P&gt;and for the plan-data:&lt;/P&gt;&lt;P&gt;sum([PLAN VALUE])&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 13:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649145#M48407</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-11-20T13:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Two Key Field more Tables without Circular Loop</title>
      <link>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649249#M48411</link>
      <description>&lt;P&gt;I did not mean that way, I don't want to join or concatenate the plan table, I just want to link it with two key field (DATE and EXP TYPE)&amp;nbsp;to the right field and to the other tables without Circular Loop.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 16:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649249#M48411</guid>
      <dc:creator>TakacsZsolt</dc:creator>
      <dc:date>2019-11-20T16:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Two Key Field more Tables without Circular Loop</title>
      <link>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649458#M48432</link>
      <description>&lt;P&gt;By the simple association between two tables you could just create a composite key from your multiple key-fields. But if you have two fact-tables which needs to be connected to eachother and at the same time to further dimension-tables ... it's not possible in a classical way.&lt;/P&gt;&lt;P&gt;A common approach to handle such a scenario is the use of a link-table - but it needs some efforts to create it and from a UI performance point of view it's often not the best choice.&lt;/P&gt;&lt;P&gt;Therefore my suggestion to merge the fact-tables which could be done by various join/mapping measurements (which is usually quite complex but results in the smallest datamodel and best UI performance) - or much simpler by just concatenating the fact-tables. This approach might look "ugly" from a pure theoretical datamodeling point of view (especially with a sql-background) but it's very easy and the performance is usually more as sufficient.&lt;/P&gt;&lt;P&gt;Should you decide against a merging of tables and also against the link-table you need in each case to consider the possibility that there are current data which have no plan data or reverse - which is a quite common use-case and which couldn't be handled in any way with associating the tables.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 08:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Two-Key-Field-more-Tables-without-Circular-Loop/m-p/1649458#M48432</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-11-21T08:30:43Z</dc:date>
    </item>
  </channel>
</rss>

