<?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 aggr on resident in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-on-resident/m-p/1780485#M455125</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Got this problem that each of the calculated below in script:&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt;Count(if(TillAISL &amp;gt;='101' and TillAISL &amp;lt;200,(TillAISL))) as [PAF1],&lt;BR /&gt;Count(if(TillAISL &amp;gt;='200' and TillAISL &amp;lt;300,(TillAISL))) as [PAF2],&lt;BR /&gt;Count(if(TillAISL &amp;gt;='300' and TillAISL &amp;lt;400,(TillAISL))) as [PAF3],&lt;BR /&gt;Count(if(TillAISL &amp;gt;='400' and TillAISL &amp;lt;500,(TillAISL))) as [PAF4],&lt;BR /&gt;Count(if(TillAISL &amp;gt;='500' and TillAISL &amp;lt;600,(TillAISL))) as [PAF5],&lt;BR /&gt;Count(if(TillAISL &amp;gt;='600' and TillAISL &amp;lt;700,(TillAISL))) as [PAF6]&lt;BR /&gt;Resident WRPAB;&lt;/P&gt;&lt;P&gt;The thing is that i must do it for each order from the table WRPAB so i got this calculated per [PAF_KEY]&lt;BR /&gt;The key is RSPPLN &amp;amp;'-'&amp;amp; RSTASL &amp;amp;'-'&amp;amp; RSTBAY &amp;amp;'-'&amp;amp; RSTLVL as [PAF_KEY], from table WRPAB&lt;/P&gt;&lt;P&gt;Just now it's calculated as total and not depending order and i think i must use aggr?&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:11:15 GMT</pubDate>
    <dc:creator>johnan</dc:creator>
    <dc:date>2024-11-15T23:11:15Z</dc:date>
    <item>
      <title>aggr on resident</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-on-resident/m-p/1780485#M455125</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Got this problem that each of the calculated below in script:&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt;Count(if(TillAISL &amp;gt;='101' and TillAISL &amp;lt;200,(TillAISL))) as [PAF1],&lt;BR /&gt;Count(if(TillAISL &amp;gt;='200' and TillAISL &amp;lt;300,(TillAISL))) as [PAF2],&lt;BR /&gt;Count(if(TillAISL &amp;gt;='300' and TillAISL &amp;lt;400,(TillAISL))) as [PAF3],&lt;BR /&gt;Count(if(TillAISL &amp;gt;='400' and TillAISL &amp;lt;500,(TillAISL))) as [PAF4],&lt;BR /&gt;Count(if(TillAISL &amp;gt;='500' and TillAISL &amp;lt;600,(TillAISL))) as [PAF5],&lt;BR /&gt;Count(if(TillAISL &amp;gt;='600' and TillAISL &amp;lt;700,(TillAISL))) as [PAF6]&lt;BR /&gt;Resident WRPAB;&lt;/P&gt;&lt;P&gt;The thing is that i must do it for each order from the table WRPAB so i got this calculated per [PAF_KEY]&lt;BR /&gt;The key is RSPPLN &amp;amp;'-'&amp;amp; RSTASL &amp;amp;'-'&amp;amp; RSTBAY &amp;amp;'-'&amp;amp; RSTLVL as [PAF_KEY], from table WRPAB&lt;/P&gt;&lt;P&gt;Just now it's calculated as total and not depending order and i think i must use aggr?&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-on-resident/m-p/1780485#M455125</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2024-11-15T23:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: aggr on resident</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-on-resident/m-p/1780533#M455126</link>
      <description>&lt;P&gt;I figured it out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In script:&lt;/P&gt;&lt;P&gt;if(RSTASL &amp;gt;='101' and RSTASL &amp;lt;200,(1)) as [PAF1],&lt;BR /&gt;if(RSTASL &amp;gt;='200' and RSTASL &amp;lt;300,(1)) as [PAF2],&lt;BR /&gt;if(RSTASL &amp;gt;='300' and RSTASL &amp;lt;400,(1)) as [PAF3],&lt;BR /&gt;if(RSTASL &amp;gt;='400' and RSTASL &amp;lt;500,(1)) as [PAF4],&lt;BR /&gt;if(RSTASL &amp;gt;='500' and RSTASL &amp;lt;600,(1)) as [PAF5],&lt;BR /&gt;if(RSTASL &amp;gt;='600' and RSTASL &amp;lt;700,(1)) as [PAF6],&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 14:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-on-resident/m-p/1780533#M455126</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2021-02-05T14:01:47Z</dc:date>
    </item>
  </channel>
</rss>

