<?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: difference between match and using an or statement? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395485#M486783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow. You just blew my mind, sir. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 22:51:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-28T22:51:59Z</dc:date>
    <item>
      <title>difference between match and using an or statement?</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395483#M486781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys. I have an issue that I need to solve quickly. Deadline is approaching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the difference between using a "match" statement, or a bunch of "or" statements? I'm switching between the two and getting different results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my expression, once with "match" (the way I was using it) and once with "or" (again, the way I had used it):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFT_SEVY_DS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;, 'STD', 'DCSTD') &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Medicare Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;= 'D' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFTT_CD&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; = 'B' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;APEL_DS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; = 'Denial Overturned',&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFT_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;))&lt;BR /&gt; /&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFT_SEVY_DS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;, 'STD', 'DCSTD') &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Medicare Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;= 'D' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFTT_CD&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; = 'B', &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFT_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFT_SEVY_DS = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; 'STD' or&amp;nbsp; 'DCSTD' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Medicare Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;= 'D' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFTT_CD&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; = 'B' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;APEL_DS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; = 'Denial Overturned',&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFT_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;))&lt;BR /&gt; /&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFT_SEVY_DS = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; 'STD' or&amp;nbsp; 'DCSTD'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;[Medicare Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;= 'D' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFTT_CD&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; = 'B', &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DSFT_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;I seem to be getting different results. I'm not sure which to use, or if I should be going a completely different route. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Please help!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 18:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395483#M486781</guid>
      <dc:creator />
      <dc:date>2013-02-28T18:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: difference between match and using an or statement?</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395484#M486782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this one: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;if ((&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_SEVY_DS = &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;'STD' or &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_SEVY_DS =&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; 'DCSTD') &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;[Medicare Type]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;= 'D' &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFTT_CD&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; = 'B' &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;APEL_DS&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; = 'Denial Overturned',&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_ID&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;))&lt;BR /&gt;/&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;if ((&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_SEVY_DS = &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;'STD' or &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_SEVY_DS = &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;'DCSTD')&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;[Medicare Type]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;= 'D' &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFTT_CD&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; = 'B',&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_ID&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;Better yet, get rid of the if's and use this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;DSFT_SEVY_DS={'STD','DCSTD'},[Medicare Type]= {'D'},DSFTT_CD = {'B'}, APEL_DS = {'Denial Overturned'}&amp;gt;} DSFT_ID) &lt;/P&gt;&lt;P&gt;/count({&amp;lt;DSFT_SEVY_DS={'STD','DCSTD'},[Medicare Type]= {'D'},DSFTT_CD = {'B'}&amp;gt;} DSFT_ID) &lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 18:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395484#M486782</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-28T18:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: difference between match and using an or statement?</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395485#M486783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow. You just blew my mind, sir. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 22:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395485#M486783</guid>
      <dc:creator />
      <dc:date>2013-02-28T22:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: difference between match and using an or statement?</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395486#M486784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Match and or give the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For better performance, use set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;count({&amp;lt;DSFT_SEVY_DS={'STD','DCSTD'},[Medicare Type]= {'D'},DSFTT_CD = {'B'}, APEL_DS = {'Denial Overturned'}&amp;gt;} DSFT_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;/count({&amp;lt;DSFT_SEVY_DS={'STD','DCSTD'},[Medicare Type]= {'D'},DSFTT_CD = {'B'}&amp;gt;} DSFT_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 22:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395486#M486784</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-02-28T22:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: difference between match and using an or statement?</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395487#M486785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you mind giving me a quick explanation of your changes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 22:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395487#M486785</guid>
      <dc:creator />
      <dc:date>2013-02-28T22:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: difference between match and using an or statement?</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395488#M486786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. To begin with you had this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_SEVY_DS = &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;'STD' or&amp;nbsp; 'DCSTD' ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The if statement should look like: if( condition, A, B). So you were missing a parentheses for the if statement.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_SEVY_DS = &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;'STD' or&amp;nbsp; 'DCSTD' ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, the or wasn't quite correct. if( A=1 or 2, ....) should be if( A=1 or A=2,....)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;if (&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_SEVY_DS = &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;'STD' or &lt;SPAN style="color: #800000; font-family: Arial, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;DSFT_SEVY_DS =&lt;/SPAN&gt; 'DCSTD'....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On to the next issue. If you use both &lt;STRONG&gt;and &lt;/STRONG&gt;and&lt;STRONG&gt; or &lt;/STRONG&gt;in an if statement you should use parentheses to make sure the order of evaluation is what you want. A and B or C could mean (A and B) or C or it could mean A and (B or C). Those give different results. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;if ((&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_SEVY_DS = &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;'STD' or &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_SEVY_DS =&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; 'DCSTD') &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;[Medicare Type]&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;= 'D'&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFTT_CD&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; = 'B' &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;APEL_DS&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; = 'Denial Overturned',&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;DSFT_ID&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now the other expression with the weird curly brackets. That's a set analysis expression. If you use an if statement inside a function it's often possible to use a set analysis expression instead. What that does is first create a set of records matching the filters and then applies the function to that set. A set is calculated once per chart, while if statements are calculated per row. A set analysis expression will usually perform better because of that. See &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1867"&gt;this document&lt;/A&gt; for a gentle introduction to set analysis expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 08:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395488#M486786</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-01T08:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: difference between match and using an or statement?</title>
      <link>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395489#M486787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could not have been more helpful if your life depended on it. Thank you SO much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 12:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-between-match-and-using-an-or-statement/m-p/395489#M486787</guid>
      <dc:creator />
      <dc:date>2013-03-01T12:19:40Z</dc:date>
    </item>
  </channel>
</rss>

