<?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 Joins and filter issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238461#M89326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may work for this specific example...&lt;/P&gt;&lt;P&gt;Create a list box with you works orders in it.&lt;/P&gt;&lt;P&gt;Select 395166 so that you have in fact filtered on 395166.&lt;/P&gt;&lt;P&gt;If you then right click and click "Select Excluded"...&lt;/P&gt;&lt;P&gt;This will then deselect 395166 then select all other works orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jul 2010 15:37:17 GMT</pubDate>
    <dc:creator>pkelly</dc:creator>
    <dc:date>2010-07-30T15:37:17Z</dc:date>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238458#M89323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying a to create a report and need some help because I'm having issues with my report. I have two tables - tblworkorder and tbltime (joined by idworkorder). I have 2 types of time - Direct Labor which has a Work Order related to the time charge and Indirect Labor which does not have a Work Order (ex. sick leave, or holidays). 95% of the time charges have a work order and 5% do not.&lt;/P&gt;&lt;P&gt;The problem I'm having is that once I cannot get the indirect labor records to show in my table box if I highlight/select any workorders from the list. Is there anyway I can still get it to show both the direct and indirect labor to show?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 18:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238458#M89323</guid>
      <dc:creator />
      <dc:date>2010-07-29T18:00:04Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238459#M89324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi...&lt;/P&gt;&lt;P&gt;Apologies if I have misunderstood what you are saying here.&lt;/P&gt;&lt;P&gt;If you select a works order from a list box, you will only see the time that is associated with that works orders i.e. direct labour.&lt;/P&gt;&lt;P&gt;No indirect labour will be shown as none is associated with the selected works order.&lt;/P&gt;&lt;P&gt;What indirect labour values would you expect to see when you select a works order?&lt;/P&gt;&lt;P&gt;Again, apologies if I have picked this up wrongly...&lt;/P&gt;&lt;P&gt;[EDIT]&lt;/P&gt;&lt;P&gt;It might be worthwhile posting an example...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 20:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238459#M89324</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2010-07-29T20:37:51Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238460#M89325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;Thanks for the response. An example will actually make it easier to understand.&lt;BR /&gt;&lt;BR /&gt;tbltimecharge&lt;BR /&gt;tcID, tcName, tcHours, tcType, tcWOID&lt;BR /&gt;01, James, 3, regular, 303&lt;BR /&gt;02, James, 5, regular, 304&lt;BR /&gt;03, James, 2, regular, 305&lt;BR /&gt;04, James, 8, sick, -&lt;BR /&gt;05, Anne, 8, holiday, -&lt;BR /&gt;06, Anne, 5, holiday, -&lt;BR /&gt;07, Anne, 1, regular, 305&lt;BR /&gt;&lt;BR /&gt;tblworkorder&lt;BR /&gt;woID, woNumber, woDescription&lt;BR /&gt;303, 395164, Repair something&lt;BR /&gt;304, 395165, Repair something else&lt;BR /&gt;305, 395166, Conduct Inspection&lt;/P&gt;&lt;P&gt;Both tables are automatically joined by Qlikview on woID. I've created a report to show both tables (select fields) and a table box showing all fields in both tables. The result is as follows&lt;BR /&gt;&lt;BR /&gt;TableBox&lt;BR /&gt;tcID, tcName, tcHours, tcType, tcWOID, woNumber, woDescription&lt;BR /&gt;01, James, 3, regular, 303, 395164, Repair something&lt;BR /&gt;02, James, 5, regular, 304, 395165, Repair something else&lt;BR /&gt;03, James, 2, regular, 305, 395166, Conduct Inspection&lt;BR /&gt;04, James, 8, sick, -, -, -&lt;BR /&gt;05, Anne, 8, holiday, -, -, -&lt;BR /&gt;06, Anne, 5, holiday, -, -, -&lt;BR /&gt;07, Anne, 1, regular, 305, 395166, Conduct Inspection&lt;BR /&gt;&lt;BR /&gt;Here is the problem: I want to see all time charges except for work order 395166 including regular, sick &amp;amp; holiday tcType. tcID 01, 02, 04, 05, &amp;amp; 06 should be the result in the table box. If I were to type not equal to workorder 395166, then it only shows tc id 01, and 02 - filtering out the other records which I need (04, 05, and 06)&lt;/P&gt;&lt;P&gt;Unless I explicitly select and highlight only those tcID's for the sample above, then it works but the real db has about 1,100,000 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 15:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238460#M89325</guid>
      <dc:creator />
      <dc:date>2010-07-30T15:23:46Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238461#M89326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may work for this specific example...&lt;/P&gt;&lt;P&gt;Create a list box with you works orders in it.&lt;/P&gt;&lt;P&gt;Select 395166 so that you have in fact filtered on 395166.&lt;/P&gt;&lt;P&gt;If you then right click and click "Select Excluded"...&lt;/P&gt;&lt;P&gt;This will then deselect 395166 then select all other works orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 15:37:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238461#M89326</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2010-07-30T15:37:17Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238462#M89327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul. I have tried that too but the problem with doing so is that it will only look for timecharges that have a work order. I want it to also include indirect timecharges (holiday and sick)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 15:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238462#M89327</guid>
      <dc:creator />
      <dc:date>2010-07-30T15:45:06Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238463#M89328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible that you could post an example qlikview file?&lt;/P&gt;&lt;P&gt;Appreciate you have outlined the structure but this allows us to play around a bit more and visually see the problem that you have....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT&lt;/P&gt;&lt;P&gt;Please ignore this request - just noticed that we can create from data supplied above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 15:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238463#M89328</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2010-07-30T15:55:01Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238464#M89329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unsure if this will work or not...&lt;/P&gt;&lt;P&gt;In your script, you could allocate a ficticious works order number to these time changes say 999...&lt;/P&gt;&lt;P&gt;Not ideal but it may work for you...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 15:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238464#M89329</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2010-07-30T15:59:57Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238465#M89330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm.. thanks for the suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 16:59:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238465#M89330</guid>
      <dc:creator />
      <dc:date>2010-07-30T16:59:11Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238466#M89331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just put a - in tblworkorder above the curly brackets . Earlier it was not realting to the idtimecharge table. in the chart put the expression if(woNumber&amp;lt;&amp;gt;391566, woNumber)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;Just put the - in tblworkorder&lt;/P&gt;&lt;P&gt;and do that 'Select Excluded' it will work.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Immutable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 21:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238466#M89331</guid>
      <dc:creator />
      <dc:date>2010-07-30T21:30:14Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238467#M89332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------&lt;/P&gt;&lt;P style="font-style: italic"&gt;TIMECHARGE:&lt;/P&gt;&lt;P style="font-style: italic"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="font-style: italic"&gt;ID, Name, Hr, Type, WOID&lt;/P&gt;&lt;P style="font-style: italic"&gt;1, James, 3, Regular, 303&lt;/P&gt;&lt;P style="font-style: italic"&gt;2, James, 5, Regular, 304&lt;/P&gt;&lt;P style="font-style: italic"&gt;3, James, 2, Regular, 305&lt;/P&gt;&lt;P style="font-style: italic"&gt;4, James, 8, Sick, -&lt;/P&gt;&lt;P style="font-style: italic"&gt;5, Anne, 8, Holiday, -&lt;/P&gt;&lt;P style="font-style: italic"&gt;6, Anne, 5, Holiday, -&lt;/P&gt;&lt;P style="font-style: italic"&gt;7, Anne, 1, Regular, 305&lt;/P&gt;&lt;P style="font-style: italic"&gt;];&lt;/P&gt;&lt;P style="font-style: italic"&gt;WORKERS:&lt;/P&gt;&lt;P style="font-style: italic"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="font-style: italic"&gt;WOID, WONUMBER, WODESCRIPTION&lt;/P&gt;&lt;P style="font-style: italic"&gt;303, 395164, Repair Something&lt;/P&gt;&lt;P style="font-style: italic"&gt;304, 395165, Repair something else&lt;/P&gt;&lt;P style="font-style: italic"&gt;305, 395168, Conduct Inspection&lt;/P&gt;&lt;P style="font-style: italic"&gt;-&lt;/P&gt;&lt;P style="font-style: italic"&gt;];&lt;/P&gt;&lt;DIV&gt;------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Here u just have to add a '' - " in your WOID column in WORKER table .&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;check above script with same data that u provided,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;select&lt;/B&gt; the field and &lt;B&gt;select excluded&lt;/B&gt; to verify the answer&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank You,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Patel&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 21:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238467#M89332</guid>
      <dc:creator />
      <dc:date>2010-07-30T21:33:25Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238468#M89333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks DJPDon for elaborating the answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 21:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238468#M89333</guid>
      <dc:creator />
      <dc:date>2010-07-30T21:41:58Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238469#M89334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution given by the guys above will work for the example data that you have provided.&lt;/P&gt;&lt;P&gt;I am assuming that the data you have provided above is a data dump from the tables within your qvw file and the dash is in fact representative of a null value so in reality, you probably won't be able to make the manual change as described above in the actual report i.e. you will be pulling new data when this is reloaded...apologies if I am wrong in this assumption...&lt;/P&gt;&lt;P&gt;Going back to my earlier suggestion, what you could do as part of your script is use an if statement to replace null wo numbers with a value.&lt;/P&gt;&lt;P&gt;I suggested 999 but this could be anything...&lt;/P&gt;&lt;P&gt;I have attached a qvw file...I have tried to suggest a route and offer my apologies if |I am way off the mark - I am relatively new to QlikView....&lt;/P&gt;&lt;P&gt;Good luck...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 22:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238469#M89334</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2010-07-30T22:58:30Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238470#M89335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Paul,&lt;/P&gt;&lt;P&gt;Your solution also work however, if we have millions of rows then we have to replace - by 999 it will be a lot of work.&lt;/P&gt;&lt;P&gt;In my solution jus add the - to other table so that it will identify it and it will work for all the million rows.&lt;/P&gt;&lt;P&gt;I am new to this technology i am still exploring it. Its funnnnn......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vikas Pathak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jul 2010 16:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238470#M89335</guid>
      <dc:creator />
      <dc:date>2010-07-31T16:21:07Z</dc:date>
    </item>
    <item>
      <title>Joins and filter issues</title>
      <link>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238471#M89336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas...&lt;/P&gt;&lt;P&gt;Agree, QlikViw is great fun...&lt;/P&gt;&lt;P&gt;I agree that just adding - to the other table is easier than doing it as part of the script.&lt;/P&gt;&lt;P&gt;My question would be on the mechanism for doing this.&lt;/P&gt;&lt;P&gt;This looks like a manual solution so everytime the data is reloaded, someone has to manually add this to the table.&lt;/P&gt;&lt;P&gt;Think it is always better to look for an automated solution.&lt;/P&gt;&lt;P&gt;This however may be the solution that hangiamm is looking for....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Aug 2010 13:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins-and-filter-issues/m-p/238471#M89336</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2010-08-01T13:07:33Z</dc:date>
    </item>
  </channel>
</rss>

