<?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: Aggr counts and statuses in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-counts-and-statuses/m-p/1748457#M455439</link>
    <description>&lt;P&gt;expanding on your logic, these are Not Tested&lt;BR /&gt;=count({&amp;lt;Status={'Not Tested'}&amp;gt;}Workstation) =count(Workstation)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or using e():&lt;BR /&gt;&lt;/SPAN&gt;=count({&amp;lt;[Test Case]=e({&amp;lt;Status={'Passed','Ready to Retest'}&amp;gt;})&amp;gt;}Workstation)&lt;BR /&gt;you just need to be careful in choosing the field to use in the e() function, such that this is not a field that is normally selected as filters (bec it overrides the filter)&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 12:50:41 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2020-09-30T12:50:41Z</dc:date>
    <item>
      <title>Aggr counts and statuses</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-counts-and-statuses/m-p/1737226#M455438</link>
      <description>&lt;P&gt;I have a simple testing spreadsheet that has dimensions of Workstation, Test Case and Status. The same workstation can have several test cases.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am struggling with the best way to define these aggregated at the right level and how to get the &lt;STRONG&gt;Not Tested vs&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;Incomplete&lt;/STRONG&gt; expression:&lt;/P&gt;&lt;P&gt;For each workstation&lt;BR /&gt;&lt;STRONG&gt;If all testcase status = null then workstation status = not tested&lt;/STRONG&gt;&lt;BR /&gt;else&lt;BR /&gt;If any testcase status = failed then workstation status = failed&lt;BR /&gt;&lt;STRONG&gt;Else if any testcase status = null then workstation status = incomplete&lt;/STRONG&gt;&lt;BR /&gt;Else if any testcase status = ready for retest then workstation status = ready for retests&lt;BR /&gt;Else (all test case status = passed) then workstation status = passed&lt;/P&gt;&lt;P&gt;if(count({&amp;lt;&lt;STRONG&gt;Status+={"Not Tested"}&lt;/STRONG&gt;&amp;gt;} distinct Workstation)&amp;gt;=1,'Not Tested',&lt;BR /&gt;if(count({&amp;lt;Status*={"Failed"}&amp;gt;} distinct Workstation)&amp;gt;=1,'Failed',&lt;BR /&gt;if(count({&amp;lt;Status*={"Ready to Retest"}&amp;gt;} distinct Workstation)&amp;gt;=1,'Ready to Retest',&lt;BR /&gt;if(count({&amp;lt;Status*={"Passed"}&amp;gt;} distinct Workstation)&amp;gt;=1,'Passed',&lt;BR /&gt;if(count({&amp;lt;&lt;STRONG&gt;Status*={"Not Tested"}&amp;gt;&lt;/STRONG&gt;} distinct Workstation)&amp;gt;=1,'Incomplete')))))&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-counts-and-statuses/m-p/1737226#M455438</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2024-11-16T18:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr counts and statuses</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-counts-and-statuses/m-p/1748457#M455439</link>
      <description>&lt;P&gt;expanding on your logic, these are Not Tested&lt;BR /&gt;=count({&amp;lt;Status={'Not Tested'}&amp;gt;}Workstation) =count(Workstation)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or using e():&lt;BR /&gt;&lt;/SPAN&gt;=count({&amp;lt;[Test Case]=e({&amp;lt;Status={'Passed','Ready to Retest'}&amp;gt;})&amp;gt;}Workstation)&lt;BR /&gt;you just need to be careful in choosing the field to use in the e() function, such that this is not a field that is normally selected as filters (bec it overrides the filter)&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 12:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-counts-and-statuses/m-p/1748457#M455439</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-09-30T12:50:41Z</dc:date>
    </item>
  </channel>
</rss>

