<?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 Exclude records in loading script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exclude-records-in-loading-script/m-p/1526420#M37834</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I could use some help here. I have a number of xlsx sheets, looking like the attached that represent the activities in our Operating Rooms (parts are blurred as they are privacy sensitive info). I’ve loaded these xlsx-sheets into one qvd.&lt;/P&gt;&lt;P&gt;From this qvd I want to load only the values that are related to patients and leave the rest of the additional info out. To be able to do this is I need to exclude a number of records, based on the following conditions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;The records where the KAMER_(ID) is empty&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And additionally&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The records where GEBOORTEDATUM is “1-1-1900” (an alternatieve could be to choose the records where the PATIENTNUMMER is 31779759 or 11780611)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My basic load statements from the QVD are:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;OK_programma: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Datum, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Volgorde, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Kamer_ID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Patiëntnummer, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Geboortedatum, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Aangevraagde verrichtingen",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Aangevraagde verrichtingen (oms.)", &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Duur, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Ingang operatiekamer", &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Uitgang OK", &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Opererende OE" &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM [lib://Bron_QVD/OK programma.qvd] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I only started the scripting part of Qlik recently and I cannot get my head around this one. I’ve tried several things with If and where statements, but without succes. Help is appreciated!!&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jan 2019 14:09:27 GMT</pubDate>
    <dc:creator>dpmbrouwers</dc:creator>
    <dc:date>2019-01-04T14:09:27Z</dc:date>
    <item>
      <title>Exclude records in loading script</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-records-in-loading-script/m-p/1526420#M37834</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I could use some help here. I have a number of xlsx sheets, looking like the attached that represent the activities in our Operating Rooms (parts are blurred as they are privacy sensitive info). I’ve loaded these xlsx-sheets into one qvd.&lt;/P&gt;&lt;P&gt;From this qvd I want to load only the values that are related to patients and leave the rest of the additional info out. To be able to do this is I need to exclude a number of records, based on the following conditions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;The records where the KAMER_(ID) is empty&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And additionally&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The records where GEBOORTEDATUM is “1-1-1900” (an alternatieve could be to choose the records where the PATIENTNUMMER is 31779759 or 11780611)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My basic load statements from the QVD are:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;OK_programma: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Datum, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Volgorde, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Kamer_ID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Patiëntnummer, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Geboortedatum, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Aangevraagde verrichtingen",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Aangevraagde verrichtingen (oms.)", &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Duur, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Ingang operatiekamer", &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Uitgang OK", &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Opererende OE" &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM [lib://Bron_QVD/OK programma.qvd] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I only started the scripting part of Qlik recently and I cannot get my head around this one. I’ve tried several things with If and where statements, but without succes. Help is appreciated!!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 14:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-records-in-loading-script/m-p/1526420#M37834</guid>
      <dc:creator>dpmbrouwers</dc:creator>
      <dc:date>2019-01-04T14:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude records in loading script</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-records-in-loading-script/m-p/1527663#M37909</link>
      <description>&lt;P&gt;What if you put this after the first load:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;Resident OK_Programma&lt;/P&gt;&lt;P&gt;Where Len(Trim(KAMER_(ID))) &amp;gt; 0&lt;/P&gt;&lt;P&gt;OR not match (GEBOORTEDATUM, “1-1-1900”)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 11:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-records-in-loading-script/m-p/1527663#M37909</guid>
      <dc:creator>joshuahirsch</dc:creator>
      <dc:date>2019-01-08T11:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude records in loading script</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-records-in-loading-script/m-p/1530325#M38163</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;This was the solution I've been looking for. It didn't work at first, but that was due to some differences in upper and lower case.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 09:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-records-in-loading-script/m-p/1530325#M38163</guid>
      <dc:creator>dpmbrouwers</dc:creator>
      <dc:date>2019-01-15T09:47:40Z</dc:date>
    </item>
  </channel>
</rss>

