<?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: Align tables with broken sequences - Challenge in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Align-tables-with-broken-sequences-Challenge/m-p/574980#M214093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concatenate the two tables together in the load script and give the Value in Table1 and the Value in Table 2 unique names.&amp;nbsp; You will then be able to build a single chart in the QlikView UI that compare the two tables. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Mar 2014 16:40:32 GMT</pubDate>
    <dc:creator>Josh_Good</dc:creator>
    <dc:date>2014-03-28T16:40:32Z</dc:date>
    <item>
      <title>Align tables with broken sequences - Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Align-tables-with-broken-sequences-Challenge/m-p/574978#M214091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the examples below, I have a "Table 1" production employee per day. In this table each employee, each day has an expected sequence of values ​​to be realized. Below is an example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/56126_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a "Table 2" of similar officials to "Table 1", which shows the sequence of actual data. But this "Table 2" sometimes does not follow the same sequence of "Table 1". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/56127_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when next the two tables can not align the values ​​to display the result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/56129_3.png" style="width: 620px; height: 391px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought of a solution, and it involves comparing all values ​​of "Table 2" of an employee / day, with all the values ​​of "Table 1" of the same employee / day and after subtracting these values​​, those who have the smallest difference are correspondents table2 that are aligned with the sequence of Table 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="4.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/56130_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this in QlikView? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance! &lt;/P&gt;&lt;P&gt;wanderson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 13:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Align-tables-with-broken-sequences-Challenge/m-p/574978#M214091</guid>
      <dc:creator />
      <dc:date>2014-03-28T13:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Align tables with broken sequences - Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Align-tables-with-broken-sequences-Challenge/m-p/574979#M214092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached with answer. This was an interesting one.Got my gears moving.&lt;/P&gt;&lt;P&gt;Please check out the back-end script in the attached file for clarity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 16:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Align-tables-with-broken-sequences-Challenge/m-p/574979#M214092</guid>
      <dc:creator />
      <dc:date>2014-03-28T16:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Align tables with broken sequences - Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Align-tables-with-broken-sequences-Challenge/m-p/574980#M214093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concatenate the two tables together in the load script and give the Value in Table1 and the Value in Table 2 unique names.&amp;nbsp; You will then be able to build a single chart in the QlikView UI that compare the two tables. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 16:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Align-tables-with-broken-sequences-Challenge/m-p/574980#M214093</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2014-03-28T16:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Align tables with broken sequences - Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Align-tables-with-broken-sequences-Challenge/m-p/574981#M214094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AJ, thanks for the reply!&lt;/P&gt;&lt;P&gt;Already thank you for trying to understand my problem, but you went further and gave a solution!&lt;/P&gt;&lt;P&gt;Congratulations!&lt;/P&gt;&lt;P&gt;I'm "debugging" your code to understand the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to share a little more, the real problem is because I have a scale of work provided for an employee, and the fulfillment of this scale is verified through the records of a biometric reader. In the case we have no interface between the scale system and records the biometric reader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thank you!&lt;/P&gt;&lt;P&gt;Wanderson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 17:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Align-tables-with-broken-sequences-Challenge/m-p/574981#M214094</guid>
      <dc:creator />
      <dc:date>2014-03-28T17:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Align tables with broken sequences - Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Align-tables-with-broken-sequences-Challenge/m-p/574982#M214095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friend, thank you for the support and suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wanderson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 17:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Align-tables-with-broken-sequences-Challenge/m-p/574982#M214095</guid>
      <dc:creator />
      <dc:date>2014-03-28T17:22:26Z</dc:date>
    </item>
  </channel>
</rss>

