<?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: Issue with Joins in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767466#M454376</link>
    <description>&lt;P&gt;take a look at this and hope it gives you an idea&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2020 19:53:00 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2020-12-09T19:53:00Z</dc:date>
    <item>
      <title>Issue with Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767377#M454366</link>
      <description>&lt;P&gt;Good morning everyone,&lt;/P&gt;&lt;P&gt;Got a question.&amp;nbsp; I have a table with all my employees by day in it, I also have another table with employees time.&amp;nbsp; In the employee's time table I might have only 10 entries for an office which has 13 employees.&amp;nbsp; All 13 employees are in my employee by day.&amp;nbsp; I'm trying to join the 2 so I can see all employees with and without time.&amp;nbsp; Any ideas?&amp;nbsp; Here is my script and tables.&amp;nbsp; What I would like to see is list of employees by day ones with time and ones without time.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all my employees:&lt;BR /&gt;LOAD&lt;BR /&gt;ENo,&lt;BR /&gt;"Date",&lt;BR /&gt;EmpKey&lt;BR /&gt;FROM [lib://QVD/HR/EmpDaily.QVD] (qvd)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;employees time:&lt;BR /&gt;Load&lt;BR /&gt;Pers.No._PERNR.CATSDB &amp;amp; Num(Date_WORKDATE.CATSDB) as EmpKey,&lt;BR /&gt;Pers.No._PERNR.CATSDB as ENo,&lt;BR /&gt;Right("Send. CCtr_SKOSTL.CATSDB",6) as [Profit Center],&lt;BR /&gt;Date_WORKDATE.CATSDB,&lt;BR /&gt;Num(Date_WORKDATE.CATSDB) as NumTimeDate,&lt;BR /&gt;Hours_CATSHOURS.CATSDB,&lt;BR /&gt;"A/A type_AWART.CATSDB",&lt;BR /&gt;1 as HasTime&lt;BR /&gt;FROM [lib://QVD/Billing/CATS/CATSDB.QVD]&lt;BR /&gt;(qvd)&lt;BR /&gt;where "A/A type_AWART.CATSDB" ='0099' or&lt;BR /&gt;"A/A type_AWART.CATSDB" ='0069' or&lt;BR /&gt;"A/A type_AWART.CATSDB" ='0068'&lt;BR /&gt;;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767377#M454366</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2024-11-16T17:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767455#M454374</link>
      <description>&lt;P&gt;you are obviously joining by Eno and EmpKey and it looks like a simple join (guessing employees table contains all the manufactured dates or is this a different project?)&lt;/P&gt;&lt;P&gt;what are you observing though?&amp;nbsp; are they not joining properly?&amp;nbsp; are you sure the Eno/EmpKey value combination is present in both tables?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 19:01:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767455#M454374</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T19:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767456#M454375</link>
      <description>&lt;P&gt;shouldnt your join just be Eno and Date?&amp;nbsp; obviously, employees time table has date time but you should get just the date component and use that in the join&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 19:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767456#M454375</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T19:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767466#M454376</link>
      <description>&lt;P&gt;take a look at this and hope it gives you an idea&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 19:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767466#M454376</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T19:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767469#M454377</link>
      <description>&lt;P&gt;Thanks Edwin for all your help.&amp;nbsp; This is pretty close to what I ended up doing.&amp;nbsp; I created a concatenated key made up of empno and a numeric date on both tables and did a left join on the time table.&amp;nbsp; Then read it in as a resident and where the length of hours worked was greater than zero I used hours worked otherwise I made it zero.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 20:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767469#M454377</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2020-12-09T20:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767477#M454378</link>
      <description>&lt;P&gt;and you just needed to know what days there are missing entries rt?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 20:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767477#M454378</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-09T20:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767480#M454379</link>
      <description>&lt;P&gt;Yep....Thanks for your help again.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 20:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Joins/m-p/1767480#M454379</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2020-12-09T20:43:53Z</dc:date>
    </item>
  </channel>
</rss>

