<?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: Find different data from two related tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Find-different-data-from-two-related-tables/m-p/1982083#M1221045</link>
    <description>&lt;P&gt;Just with these information it's difficult to deduce your data-structure and what do you want to achieve with them. Personally I would tend to merge all the fact-data into a single table - mainly by concatenating the data. This means for example that only a single date-field would be there and another field holding the information of intern or extern or planned (I assume that the other date stands for it).&lt;/P&gt;
&lt;P&gt;With an appropriate sorting within a resident-load you could check and access with interrecord-functions previously loaded records and creating with them a difference between the dates and maybe also a flag from it. Another approach to get such flag may be to join or map such planned date to the devices and then creating the flag with it.&lt;/P&gt;
&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 15:50:12 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2022-09-16T15:50:12Z</dc:date>
    <item>
      <title>Find different data from two related tables</title>
      <link>https://community.qlik.com/t5/QlikView/Find-different-data-from-two-related-tables/m-p/1981996#M1221039</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I`m working on a Qlik View App in which I want to gather maintenance data from laboratory devices. I extract the data from database tables which are filled by users. Therefore, the data from two different tables may differ from each other. Here is an example of what I mean:&lt;/P&gt;
&lt;P&gt;There are Devices (table "DEVICES") with IDs and there can be internal and/or external maintenance dates ("tests") concerning these devices (you could say that this is the parent table):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schmimla21_0-1663333153474.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89258i485D37F69847A817/image-size/medium?v=v2&amp;amp;px=400" role="button" title="schmimla21_0-1663333153474.png" alt="schmimla21_0-1663333153474.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Furthermore there are is a table ("DEVICE_TESTS") which includes the maintenance dates respectively the test dates (this would be the child table).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schmimla21_1-1663333762033.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89260i6697FF413D76DD2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="schmimla21_1-1663333762033.png" alt="schmimla21_1-1663333762033.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What I want to achieve now is to find the Devices where "NEXT_TEST_DATE_INTERNAL" or "NEXT_TEST_DATE_EXTERNAL" from table DEVICES is not equal to "NEXT_TEST_DATE" depending on whether it is an external or internal test. For example: If in the screenshots above "NEXT_TEST_DATE_EXTERNAL" would be 09.11.2022,&amp;nbsp; I would like to have a simple listbox in which the affected device is listed.&lt;/P&gt;
&lt;P&gt;Of course I know, that this data structure does not fit to the logic of a relational database. But let`s assume that this structure is necessary in this case.&lt;/P&gt;
&lt;P&gt;I hope&amp;nbsp; that this explanation of the problem is understandable. Thank you very much in advance for any help!&lt;/P&gt;
&lt;DIV class="QmZWSe"&gt;
&lt;DIV class="DHcWmd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-different-data-from-two-related-tables/m-p/1981996#M1221039</guid>
      <dc:creator>schmimla21</dc:creator>
      <dc:date>2022-09-16T13:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Find different data from two related tables</title>
      <link>https://community.qlik.com/t5/QlikView/Find-different-data-from-two-related-tables/m-p/1982083#M1221045</link>
      <description>&lt;P&gt;Just with these information it's difficult to deduce your data-structure and what do you want to achieve with them. Personally I would tend to merge all the fact-data into a single table - mainly by concatenating the data. This means for example that only a single date-field would be there and another field holding the information of intern or extern or planned (I assume that the other date stands for it).&lt;/P&gt;
&lt;P&gt;With an appropriate sorting within a resident-load you could check and access with interrecord-functions previously loaded records and creating with them a difference between the dates and maybe also a flag from it. Another approach to get such flag may be to join or map such planned date to the devices and then creating the flag with it.&lt;/P&gt;
&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-different-data-from-two-related-tables/m-p/1982083#M1221045</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-09-16T15:50:12Z</dc:date>
    </item>
  </channel>
</rss>

