<?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 Help with basic QlikView Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-basic-QlikView-Expression/m-p/496467#M482372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;I wonder if you could help as I’m poor at Qlik View expression writing. Below are 2 separate expressions to get the count of a column based on the occurrence of 2 other values:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;DB Data Center&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;State&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;I want to combine the 2, but don’t know how to use the ‘and’ function in Qlik View. I want to write 2 things..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;1.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;If DBDataCenter = PA or PI and State = Migrated.....then count logicaldb_rem_id etc.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;2.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;If DBDataCenter = PA or PI and State = Is Null / Blank.....then count logicaldb_rem_id etc.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;Can anyone help? On a side point is there a dummies guide to the syntax for QV?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;Many thanks&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: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DBDataCenter&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'PA','PI'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;logicaldb_rem_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)=0,'',&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DBDataCenter&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'PA','PI'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;logicaldb_rem_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;State&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'Migrated'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;logicaldb_rem_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)=0,'',&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;State&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'Migrated'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;logicaldb_rem_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Aug 2013 11:35:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-15T11:35:03Z</dc:date>
    <item>
      <title>Help with basic QlikView Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-basic-QlikView-Expression/m-p/496467#M482372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;I wonder if you could help as I’m poor at Qlik View expression writing. Below are 2 separate expressions to get the count of a column based on the occurrence of 2 other values:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;DB Data Center&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;State&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;I want to combine the 2, but don’t know how to use the ‘and’ function in Qlik View. I want to write 2 things..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;1.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;If DBDataCenter = PA or PI and State = Migrated.....then count logicaldb_rem_id etc.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;2.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;If DBDataCenter = PA or PI and State = Is Null / Blank.....then count logicaldb_rem_id etc.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;Can anyone help? On a side point is there a dummies guide to the syntax for QV?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New';"&gt;Many thanks&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: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DBDataCenter&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'PA','PI'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;logicaldb_rem_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)=0,'',&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DBDataCenter&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'PA','PI'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;logicaldb_rem_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;State&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'Migrated'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;logicaldb_rem_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)=0,'',&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;State&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'Migrated'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;logicaldb_rem_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 11:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-basic-QlikView-Expression/m-p/496467#M482372</guid>
      <dc:creator />
      <dc:date>2013-08-15T11:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with basic QlikView Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-basic-QlikView-Expression/m-p/496468#M482373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;DBDataCenter&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'PA','PI'},&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;State&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'Migrated'}&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;+&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;DBDataCenter&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={'PA','PI'},&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;State-&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;{'*'}&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;logicaldb_rem_id&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 11:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-basic-QlikView-Expression/m-p/496468#M482373</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-08-15T11:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with basic QlikView Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-basic-QlikView-Expression/m-p/496469#M482374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works a treat:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;DBDataCenter={'PA','PI'},State={'Migrated'}&amp;gt;}logicaldb_rem_id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I try and turn it to blank values it doesn work. Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;DBDataCenter={'PA','PI'},State-={'*'}&amp;gt;}logicaldb_rem_id)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 14:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-basic-QlikView-Expression/m-p/496469#M482374</guid>
      <dc:creator />
      <dc:date>2013-08-15T14:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with basic QlikView Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-basic-QlikView-Expression/m-p/496470#M482375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Examples above use set analysis, which can be rather difficult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a more basic variant would be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count( if(&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;DBDataCenter&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='PA' or D&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;BDataCenter&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='PI' and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;State&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='Migrated'&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;logicaldb_rem_id&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;or with a distinct &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=count(distinct if(&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;DBDataCenter&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='PA' or D&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;BDataCenter&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='PI' &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;State&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='Migrated'&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;logicaldb_rem_id&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;or else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=sum( if(&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;DBDataCenter&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='PA' or D&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;BDataCenter&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='PI' &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;State&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='Migrated'&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;1,0&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;or if you want to avoid many OR statements, use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;=count( if(mixmatch(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;DBDataCenter&lt;/SPAN&gt;, 'PA','PI' &amp;gt;0, &lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;logicaldb_rem_id&lt;/SPAN&gt;) )&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;a simple way to check if a field is blank, which also detects nulls is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;len(&lt;SPAN style="color: #737373; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;State&lt;/SPAN&gt;)&amp;gt; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else a combination of isnull and = '' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 12px; background-color: #ffffff;"&gt;Also have you looked at the qlikview reference manual , which comes with the installation package ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 15:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-basic-QlikView-Expression/m-p/496470#M482375</guid>
      <dc:creator />
      <dc:date>2013-08-15T15:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help with basic QlikView Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-basic-QlikView-Expression/m-p/496471#M482376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your blanks are not nulls but empty strings try State-={''}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 15:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-basic-QlikView-Expression/m-p/496471#M482376</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-08-15T15:27:18Z</dc:date>
    </item>
  </channel>
</rss>

