<?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 expression set analysis calculation help! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762596#M1048736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need to some help to solve a frustrating little problem in an expression used to count the number of work requests!&lt;/P&gt;&lt;P&gt;I'm simplying trying to display of count of work requests based on a few simple criteria, one of which is causing me a small headache!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two categorys of work request, "Preventative Maintenance" and "Reactive".&amp;nbsp; Where reactive is made up of several problem types and preventative maintenace has only one problem type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added an expression to text objects to count the number of work requests for "Preventative Maintenance" as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;all&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;( {&lt;SPAN style="color: #565a5c;"&gt;1&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt; ={'preventive maint'}&amp;gt;} &lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;open&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: maroon;"&gt;status_cat&lt;/SPAN&gt;={'open'}, &lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt;={'preventivemaint'}&amp;gt;}&lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;closed&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: maroon;"&gt;status_cat&lt;/SPAN&gt;={'closed'}, &lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt;={'preventivemaint'}&amp;gt;}&lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for the "Reactive" work requests its a little more complicated as I'm trying to count the work requests where the problem_type is NOT "preventive maint" (for "preventative maintenance"). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because there are over 100 different problem_types that are classes are "Reactive" so logically it would be easier to count either all work that is "Preventative maintenace" or all work that is NOT "preventative maintenace"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far for Reactive l have the following:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;all&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;({$-1&amp;lt;&lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt;={'preventive maint'}&amp;gt;} &lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;open&lt;/STRONG&gt;: would be &lt;EM&gt;where status is "open" count all work request&lt;SPAN style="color: #565a5c;"&gt;s &lt;/SPAN&gt;where prob_type is not "preventive maint"&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;closed&lt;/STRONG&gt;: would be &lt;EM&gt;where status is "closed" count all work request&lt;SPAN style="color: #565a5c;"&gt;s &lt;/SPAN&gt;where prob_type is not "preventive maint"&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help to complete Open &amp;amp; Closed for reactive, as above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other systems (not qlikview) if i want all problem types that are not "preventive maint" i would use for example:&lt;/P&gt;&lt;P&gt;IS NOT "preventive maint" or&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;gt; "preventive maint"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't appear as simple as this in Qlikview, unless I'm missing something obvious&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2014 13:54:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-04T13:54:42Z</dc:date>
    <item>
      <title>expression set analysis calculation help!</title>
      <link>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762596#M1048736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need to some help to solve a frustrating little problem in an expression used to count the number of work requests!&lt;/P&gt;&lt;P&gt;I'm simplying trying to display of count of work requests based on a few simple criteria, one of which is causing me a small headache!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two categorys of work request, "Preventative Maintenance" and "Reactive".&amp;nbsp; Where reactive is made up of several problem types and preventative maintenace has only one problem type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added an expression to text objects to count the number of work requests for "Preventative Maintenance" as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;all&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;( {&lt;SPAN style="color: #565a5c;"&gt;1&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt; ={'preventive maint'}&amp;gt;} &lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;open&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: maroon;"&gt;status_cat&lt;/SPAN&gt;={'open'}, &lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt;={'preventivemaint'}&amp;gt;}&lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;closed&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: maroon;"&gt;status_cat&lt;/SPAN&gt;={'closed'}, &lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt;={'preventivemaint'}&amp;gt;}&lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for the "Reactive" work requests its a little more complicated as I'm trying to count the work requests where the problem_type is NOT "preventive maint" (for "preventative maintenance"). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because there are over 100 different problem_types that are classes are "Reactive" so logically it would be easier to count either all work that is "Preventative maintenace" or all work that is NOT "preventative maintenace"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far for Reactive l have the following:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;all&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;({$-1&amp;lt;&lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt;={'preventive maint'}&amp;gt;} &lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;open&lt;/STRONG&gt;: would be &lt;EM&gt;where status is "open" count all work request&lt;SPAN style="color: #565a5c;"&gt;s &lt;/SPAN&gt;where prob_type is not "preventive maint"&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;&lt;STRONG&gt;closed&lt;/STRONG&gt;: would be &lt;EM&gt;where status is "closed" count all work request&lt;SPAN style="color: #565a5c;"&gt;s &lt;/SPAN&gt;where prob_type is not "preventive maint"&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help to complete Open &amp;amp; Closed for reactive, as above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other systems (not qlikview) if i want all problem types that are not "preventive maint" i would use for example:&lt;/P&gt;&lt;P&gt;IS NOT "preventive maint" or&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;gt; "preventive maint"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't appear as simple as this in Qlikview, unless I'm missing something obvious&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 13:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762596#M1048736</guid>
      <dc:creator />
      <dc:date>2014-11-04T13:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: expression set analysis calculation help!</title>
      <link>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762597#M1048737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan, you can use '-' (minus) in set analisys:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;STRONG&gt;all&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;( {&lt;SPAN style="color: #565a5c;"&gt;1&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt; =&lt;STRONG&gt;-&lt;/STRONG&gt;{'preventive maint'}&amp;gt;} &lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;STRONG&gt;open&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: maroon;"&gt;status_cat&lt;/SPAN&gt;={'open'}, &lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt;=-{'preventivemaint'}&amp;gt;}&lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;STRONG&gt;closed&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: maroon;"&gt;status_cat&lt;/SPAN&gt;={'closed'}, &lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt;=-{'preventivemaint'}&amp;gt;}&lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 14:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762597#M1048737</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-11-04T14:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: expression set analysis calculation help!</title>
      <link>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762598#M1048738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruben, thats helps - but also reminds me why I had the $-1 in the original count for all reactive work (&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;({$-1&amp;lt;&lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt;={'preventive maint'}&amp;gt;} &lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As there are 15 works orders (which are closed) that have no problem type, so the value is NULL...&amp;nbsp; annoying I know, but the expression you've given doesn't count these NULL values from the problem_type and the reesult is 15 short of what it should be..., any ideas??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dan&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 14:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762598#M1048738</guid>
      <dc:creator />
      <dc:date>2014-11-04T14:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: expression set analysis calculation help!</title>
      <link>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762599#M1048739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, nulls are allways tricky, you can use NullAsValue in script to set one value to nulls or maybe using exclusion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;STRONG&gt;all&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;( {&lt;SPAN style="color: #565a5c;"&gt;1&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: maroon; font-size: 7.5pt; font-family: 'Arial','sans-serif';"&gt;wr_id=E({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt; ={'preventive maint'}&amp;gt;})&amp;gt;} &lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;STRONG&gt;open&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: maroon;"&gt;status_cat&lt;/SPAN&gt;={'open'}, &lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt;"&gt;&lt;SPAN style="color: maroon; font-size: 7.5pt; font-family: 'Arial','sans-serif';"&gt;wr_id=E({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt; ={'preventive maint'}&amp;gt;})&amp;gt;}&lt;/SPAN&gt; &lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;STRONG&gt;closed&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt;"&gt;=&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: maroon;"&gt;status_cat&lt;/SPAN&gt;={'closed'}, &lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 7.5pt;"&gt;&lt;SPAN style="color: maroon; font-size: 7.5pt; font-family: 'Arial','sans-serif';"&gt;wr_id=E({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;prob_type&lt;/SPAN&gt; ={'preventive maint'}&amp;gt;})&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;wr_id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Not tested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 14:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762599#M1048739</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-11-04T14:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: expression set analysis calculation help!</title>
      <link>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762600#M1048740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a good base set, now for open and close you need an intersect. This would be the set expression for "open" status:&lt;/P&gt;&lt;P&gt;{(1-1&amp;lt;prob_type={'preventive maint'}&amp;gt;)*1&amp;lt;status_cat={'open'}&amp;gt;}&lt;/P&gt;&lt;P&gt;Syntax coloring will probably break, but it should work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've changed the $ to 1, if it's supposed to react to selections, $ would be appropriate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 14:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762600#M1048740</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2014-11-04T14:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: expression set analysis calculation help!</title>
      <link>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762601#M1048741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruben, thats got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like the exclusion addition &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 14:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762601#M1048741</guid>
      <dc:creator />
      <dc:date>2014-11-04T14:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: expression set analysis calculation help!</title>
      <link>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762602#M1048742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also works, thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 15:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-set-analysis-calculation-help/m-p/762602#M1048742</guid>
      <dc:creator />
      <dc:date>2014-11-04T15:01:17Z</dc:date>
    </item>
  </channel>
</rss>

