<?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 conditional expression in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212407#M66390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;What you could do is , you can include the expression in ur script, in such a way so that the resulting field should contain null values (For duplicate rows or whichever condition you want to achieve). You can include that field in ur table box &amp;amp; on the presentation tab u can select &lt;B&gt;Omit Rows where field is null&lt;/B&gt;.Other wise if it is a table chart u can even supress duplicate rows by selecting &lt;B&gt;Supress When value is null in dimension&lt;/B&gt; in the dimension.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Feb 2011 08:37:22 GMT</pubDate>
    <dc:creator>amars</dc:creator>
    <dc:date>2011-02-11T08:37:22Z</dc:date>
    <item>
      <title>conditional expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212404#M66387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following expression to exclude anything that is a dummy record or and inactive client - bsically this data contains clients but the users have also created dummy clients - anything with an end date should also be excluded&lt;/P&gt;&lt;P&gt;=IF(\CLIENT.EndDate and \CLIENT.StartDate,'Inactive', ClientNo)&lt;/P&gt;&lt;P&gt;however I noted that 'real' cliemts have an 8 digit no so i tried&lt;/P&gt;&lt;P&gt;=IF(\CLIENT.EndDate and len(ClientNo)&amp;lt;&amp;gt;8,'Inactive', ClientNo) to weed outr dummy clients with clientnos that were not 8 digits&lt;/P&gt;&lt;P&gt;However this did not exclude those records - not sure if i am missing somne obvious parantheses or something&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 08:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212404#M66387</guid>
      <dc:creator />
      <dc:date>2011-02-11T08:11:17Z</dc:date>
    </item>
    <item>
      <title>conditional expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212405#M66388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please upload the sample qvw file as I could not understand whether you are using the code in script or any chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;Kuldeep Tak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 08:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212405#M66388</guid>
      <dc:creator />
      <dc:date>2011-02-11T08:21:35Z</dc:date>
    </item>
    <item>
      <title>conditional expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212406#M66389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is the field name in the expression correct (\CLIENT.EndDate). I suppose the field names are 'EndDate' and 'ClientNo'. If so, try the following expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;IF(IsNull(EndDate)=0 and Len(ClientNo)=8,ClientNo,'Inactive')&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haneesh&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 08:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212406#M66389</guid>
      <dc:creator />
      <dc:date>2011-02-11T08:22:28Z</dc:date>
    </item>
    <item>
      <title>conditional expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212407#M66390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;What you could do is , you can include the expression in ur script, in such a way so that the resulting field should contain null values (For duplicate rows or whichever condition you want to achieve). You can include that field in ur table box &amp;amp; on the presentation tab u can select &lt;B&gt;Omit Rows where field is null&lt;/B&gt;.Other wise if it is a table chart u can even supress duplicate rows by selecting &lt;B&gt;Supress When value is null in dimension&lt;/B&gt; in the dimension.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 08:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212407#M66390</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2011-02-11T08:37:22Z</dc:date>
    </item>
    <item>
      <title>conditional expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212408#M66391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning...afraid i cant upload the file but let me elaborate&lt;/P&gt;&lt;P&gt;expression is bei ng used as a calculated dimension ina straight table - basically it is the first column so that in theory i only show the rows that match&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that makes sense&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 09:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212408#M66391</guid>
      <dc:creator />
      <dc:date>2011-02-11T09:04:30Z</dc:date>
    </item>
    <item>
      <title>conditional expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212409#M66392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;haneesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks - seems to work with one tweak - canged the 0 to -1 for true...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 09:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-expression-in-straight-table/m-p/212409#M66392</guid>
      <dc:creator />
      <dc:date>2011-02-11T09:18:16Z</dc:date>
    </item>
  </channel>
</rss>

