<?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 Show first aggregated value for each category in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-first-aggregated-value-for-each-category/m-p/1887812#M1217154</link>
    <description>&lt;P&gt;I have data as shown in the attached spreadsheet. I would like to show only single row in a table for each project based on the status. If the status is Completed for any of the project then I would like to show only the row with the Completed Status. If the status is not Completed for that project then second preferred row to select is In-Progress status row. If either of Completed or In-Progress is not there for any of the project, then I have to show the row for Void status.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached the file with the input and desired output. Please assist with the expression. Listing down below my expression -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If( Status = 'Complete', Status, &lt;BR /&gt;if ( Aggr (If( Status &amp;lt;&amp;gt; 'Complete' and Status = 'InProgress', Status ), Project, Project) = 'InProgress', Status,&lt;BR /&gt;Aggr(If( Status &amp;lt;&amp;gt; 'Complete' and Status &amp;lt;&amp;gt; 'InProgress' and Status = 'Void', Status), Project, Project)&lt;BR /&gt;))&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 14:33:21 GMT</pubDate>
    <dc:creator>sam1508</dc:creator>
    <dc:date>2022-02-03T14:33:21Z</dc:date>
    <item>
      <title>Show first aggregated value for each category</title>
      <link>https://community.qlik.com/t5/QlikView/Show-first-aggregated-value-for-each-category/m-p/1887812#M1217154</link>
      <description>&lt;P&gt;I have data as shown in the attached spreadsheet. I would like to show only single row in a table for each project based on the status. If the status is Completed for any of the project then I would like to show only the row with the Completed Status. If the status is not Completed for that project then second preferred row to select is In-Progress status row. If either of Completed or In-Progress is not there for any of the project, then I have to show the row for Void status.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached the file with the input and desired output. Please assist with the expression. Listing down below my expression -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If( Status = 'Complete', Status, &lt;BR /&gt;if ( Aggr (If( Status &amp;lt;&amp;gt; 'Complete' and Status = 'InProgress', Status ), Project, Project) = 'InProgress', Status,&lt;BR /&gt;Aggr(If( Status &amp;lt;&amp;gt; 'Complete' and Status &amp;lt;&amp;gt; 'InProgress' and Status = 'Void', Status), Project, Project)&lt;BR /&gt;))&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 14:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-first-aggregated-value-for-each-category/m-p/1887812#M1217154</guid>
      <dc:creator>sam1508</dc:creator>
      <dc:date>2022-02-03T14:33:21Z</dc:date>
    </item>
  </channel>
</rss>

