<?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 How to Add if condition for Firstsorted value count. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6034#M792943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ex : if(M_NO=FirstsortedValue(M_NO),-Aggr(avg(T_Time),M_NO,P_ID),Count(B_ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an table we are calculated the min of avg against the M_NO and P_ID.&lt;/P&gt;&lt;P&gt;i tried by above expression by count against the M_NO and Min of avg .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to Add if condition for Firstsorted value count.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6034#M792943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ex : if(M_NO=FirstsortedValue(M_NO),-Aggr(avg(T_Time),M_NO,P_ID),Count(B_ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an table we are calculated the min of avg against the M_NO and P_ID.&lt;/P&gt;&lt;P&gt;i tried by above expression by count against the M_NO and Min of avg .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6034#M792943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Add if condition for Firstsorted value count.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6035#M792944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(If(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;M_NO = FirstsortedValue(TOTAL &amp;lt;B_ID&amp;gt; M_NO, -Aggr(Avg(T_Time), M_NO, P_ID), 1, 0), M_NO, B_ID))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 18:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6035#M792944</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-24T18:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Add if condition for Firstsorted value count.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6036#M792945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you getting an error like nested aggr not allowed. May be try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Count(Aggr( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(M_NO=FirstsortedValue(M_NO, -Aggr(avg(T_Time),M_NO,P_ID), B_ID), M_NO))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Change accordingly. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 18:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6036#M792945</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-01-24T18:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Add if condition for Firstsorted value count.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6037#M792946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are not getting the count for above expression.&lt;/P&gt;&lt;P&gt;Dimension is P_ID.&lt;/P&gt;&lt;P&gt;We want Count of b_id against the min of avg of M_ID,P_ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 06:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6037#M792946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T06:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Add if condition for Firstsorted value count.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6038#M792947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Aggr( if(M_NO=FirstsortedValue(M_NO),-avg(T_Time),Count(B_ID)),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;M_NO,P_ID)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 13:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6038#M792947</guid>
      <dc:creator>raman_rastogi</dc:creator>
      <dc:date>2018-02-02T13:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Add if condition for Firstsorted value count.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6039#M792948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share a sample to look into? And your expected output. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 13:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6039#M792948</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-02-02T13:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Add if condition for Firstsorted value count.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6040#M792949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we tried above expression. we are not getting the output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2018 04:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Add-if-condition-for-Firstsorted-value-count/m-p/6040#M792949</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-03T04:43:30Z</dc:date>
    </item>
  </channel>
</rss>

