<?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: Combine many Where Clauses into one in script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combine-many-Where-Clauses-into-one-in-script/m-p/24316#M790651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or another one using your expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where (Match(Left([ICD10 Diagnosis Code],1),'D') or Match(Left([ICD10 Diagnosis Code],3),'C44') or Match(Left([ICD10 Diagnosis Code],4),'R856',’R876’)) and not &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Match(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[ICD10 Diagnosis Code],&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;'C443.2', ‘C449.32’,'D01.0', ‘D03.4’)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2018 22:58:54 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2018-01-30T22:58:54Z</dc:date>
    <item>
      <title>Combine many Where Clauses into one in script?</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-many-Where-Clauses-into-one-in-script/m-p/24314#M790649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been trying for days now to write these parameters into my script with no luck.&amp;nbsp; I keep searching but can’t find anything that works. Your time and help is gratefully appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’m trying to load the following script, but I need a way to combine the Where clause into one.&amp;nbsp; I can run them all independently, but can’t seem to figure a way to combine them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Code], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Diagnosis Date &amp;amp; Time], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Medical Service], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Organization, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Person Alias]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;H&gt;&lt;/H&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, header is 3 lines, table is [Report 1])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Match(Left([ICD10 Diagnosis Code],1),'D')&lt;/P&gt;&lt;P&gt;Where Match(Left([ICD10 Diagnosis Code],3),'C44')&lt;/P&gt;&lt;P&gt;Where Match(Left([ICD10 Diagnosis Code],4),'R856',’R876’)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I have a list of codes that I need to exclude: ('C443.2', ‘C449.32’,'D01.0', ‘D03.4’)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-many-Where-Clauses-into-one-in-script/m-p/24314#M790649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Combine many Where Clauses into one in script?</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-many-Where-Clauses-into-one-in-script/m-p/24315#M790650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Where WildMatch([ICD10 Diagnosis Code],&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'D*','C44*',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'R856*',’R876*’) and not Match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[ICD10 Diagnosis Code],&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'C443.2', ‘C449.32’,'D01.0', ‘D03.4’)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 22:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-many-Where-Clauses-into-one-in-script/m-p/24315#M790650</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-01-30T22:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Combine many Where Clauses into one in script?</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-many-Where-Clauses-into-one-in-script/m-p/24316#M790651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or another one using your expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where (Match(Left([ICD10 Diagnosis Code],1),'D') or Match(Left([ICD10 Diagnosis Code],3),'C44') or Match(Left([ICD10 Diagnosis Code],4),'R856',’R876’)) and not &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Match(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[ICD10 Diagnosis Code],&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;'C443.2', ‘C449.32’,'D01.0', ‘D03.4’)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 22:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-many-Where-Clauses-into-one-in-script/m-p/24316#M790651</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-01-30T22:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Combine many Where Clauses into one in script?</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-many-Where-Clauses-into-one-in-script/m-p/24317#M790652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked like a charm! Thank you so much Marco!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 23:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-many-Where-Clauses-into-one-in-script/m-p/24317#M790652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T23:05:09Z</dc:date>
    </item>
  </channel>
</rss>

