<?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: If/Where Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726504#M1051728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want first 6 names only then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first 6 load *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from table name;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else if you want any of the 6 names means&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from Tablename&lt;/P&gt;&lt;P&gt;where match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;fieldname,'a','b','c','d','e','f');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Oct 2014 13:08:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-30T13:08:14Z</dc:date>
    <item>
      <title>If/Where Statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726498#M1051721</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;I have a Table where the base has 21 Names but I want to restrict this down to 6. &lt;/P&gt;&lt;P&gt;I have been trying to do this with group statements and calculated dimensions but I am not sure if I am in the correct area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use :&lt;/P&gt;&lt;P&gt;Where constraint = A Or B Or C etc show me fail count for each&lt;/P&gt;&lt;P&gt;But I dont want to see the others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone point me in the right direction with the correct expression layout please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sindy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 16:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726498#M1051721</guid>
      <dc:creator />
      <dc:date>2014-10-29T16:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: If/Where Statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726499#M1051722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constraint:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Letter&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * from Source&lt;/P&gt;&lt;P&gt;WHERE Exists([Letter]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;www.techstuffy.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 16:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726499#M1051722</guid>
      <dc:creator>markodonovan</dc:creator>
      <dc:date>2014-10-29T16:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: If/Where Statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726500#M1051723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SCDBuist,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from source&lt;/P&gt;&lt;P&gt;where match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;constraint,'A','B','C');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;KC &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 16:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726500#M1051723</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-10-29T16:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: If/Where Statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726501#M1051724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try also with source table only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SourceTab:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * Inline [&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Name&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;B&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;C&amp;nbsp; ] &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;WHERE Match( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Name,'A','B','C' );&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 18:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726501#M1051724</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-29T18:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: If/Where Statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726502#M1051725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all. With your suggestions above I ended up with the following statement on my dimension limits within the chart which seems to work although the Match comes out as 0,1,2 etc. which I have renamed to the columns, however am I correct to assume that '0' would be the sum of all the other fields I have not matched?? and is there anyway not to include this so I am only showing results 1 -6?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;nbsp; If(Match ([ConstraintName],'chi','date','regularexpression','opcs4or3code','icd10or9code','healthboardcode')=1,'chi',&lt;/P&gt;&lt;P&gt;if(Match ([ConstraintName],'chi','date','regularexpression','opcs4or3code','icd10or9code','healthboardcode')=2,'Date',&lt;/P&gt;&lt;P&gt;If (Match ([ConstraintName],'chi','date','regularexpression','opcs4or3code','icd10or9code','healthboardcode')=3,'regularexpression',&lt;/P&gt;&lt;P&gt;If (Match ([ConstraintName],'chi','date','regularexpression','opcs4or3code','icd10or9code','healthboardcode')=4,'opcs4or3code',&lt;/P&gt;&lt;P&gt;If (Match ([ConstraintName],'chi','date','regularexpression','opcs4or3code','icd10or9code','healthboardcode')=5,'icd10or9code',&lt;/P&gt;&lt;P&gt;If (Match ([ConstraintName],'chi','date','regularexpression','opcs4or3code','icd10or9code','healthboardcode')=6, 'healthboardcode',&lt;/P&gt;&lt;P&gt;'OtherConstraints'))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 09:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726502#M1051725</guid>
      <dc:creator />
      <dc:date>2014-10-30T09:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: If/Where Statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726503#M1051727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Kc, My issue is not fully resolved but almost!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 13:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726503#M1051727</guid>
      <dc:creator />
      <dc:date>2014-10-30T13:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: If/Where Statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726504#M1051728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want first 6 names only then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first 6 load *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from table name;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else if you want any of the 6 names means&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from Tablename&lt;/P&gt;&lt;P&gt;where match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;fieldname,'a','b','c','d','e','f');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 13:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726504#M1051728</guid>
      <dc:creator />
      <dc:date>2014-10-30T13:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: If/Where Statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726505#M1051729</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;Your expression is overly complex, you can do just this which will produce the same result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Match (ConstraintName,'chi','date','regularexpression','opcs4or3code','icd10or9code','healthboardcode'), &lt;/P&gt;&lt;P&gt;ConstraintName, 'OtherConstraints')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to exclude all the others, use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Match (ConstraintName,'chi','date','regularexpression','opcs4or3code','icd10or9code','healthboardcode'), &lt;/P&gt;&lt;P&gt;ConstraintName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and suppress nulls for the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 13:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726505#M1051729</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-10-30T13:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: If/Where Statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726506#M1051730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SCD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;constraint,'A','B','C')&amp;gt;0,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;constraint,"")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;pick(match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;constraint,'A','B','C'),'A','B','C')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;KC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 13:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Where-Statement/m-p/726506#M1051730</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-10-30T13:23:55Z</dc:date>
    </item>
  </channel>
</rss>

