<?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 with if or countif in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260635#M25677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;if(Max (&lt;STRONG&gt;TOTAL&lt;/STRONG&gt; DATE (ttr_travel_date)) &amp;lt;= today()&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Dec 2016 12:53:37 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2016-12-21T12:53:37Z</dc:date>
    <item>
      <title>Aggr with if or countif</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260630#M25672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use Aggr with if or countif but no luck. Can anyone please help in understanding this with an example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shivesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 14:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260630#M25672</guid>
      <dc:creator />
      <dc:date>2016-11-16T14:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with if or countif</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260631#M25673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you trying to do? Can you share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 14:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260631#M25673</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-16T14:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with if or countif</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260632#M25674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just simple example:&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;=count(if([Unique ID]&amp;lt;&amp;gt;'NULL',[Unique ID]))&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 15:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260632#M25674</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-11-16T15:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with if or countif</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260633#M25675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(YOURCONDITION&amp;nbsp; , &amp;lt;THEN&amp;gt;,&amp;lt;ELSE&amp;gt;),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,field1,field.....)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 15:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260633#M25675</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-11-16T15:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with if or countif</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260634#M25676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I have a date field in a table called aq_date..Now to calculate "last aq_date", I've created a measure&lt;/P&gt;&lt;P&gt;Max (DATE (aq_date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to filter out "Max (DATE (ttr_travel_date)) "which is less than or equal to current date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying this.....if(Max (DATE (ttr_travel_date)) &amp;lt;= today() which is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shivesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 12:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260634#M25676</guid>
      <dc:creator />
      <dc:date>2016-12-21T12:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with if or countif</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260635#M25677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;if(Max (&lt;STRONG&gt;TOTAL&lt;/STRONG&gt; DATE (ttr_travel_date)) &amp;lt;= today()&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 12:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260635#M25677</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-21T12:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with if or countif</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260636#M25678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vineeth for such a quick reply! b&lt;SPAN style="font-size: 10pt;"&gt;ut its returning null values. Let me explain the complete scenario: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am trying to make an exportable table having various fields. Out of such fields there's one field where I require "&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Max (DATE (aq_date))" less than or equal to current date. &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: 12px; background-color: #f2f2f2;"&gt;What should be the dimension/measure I should input?&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: 12px; background-color: #f2f2f2;"&gt;I tried &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;if(Max (&lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TOTAL&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt; DATE (aq_date)) &amp;lt;= today()),aq_date)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 13:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260636#M25678</guid>
      <dc:creator />
      <dc:date>2016-12-21T13:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with if or countif</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260637#M25679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add the criteria to your Expression in Set analysis&lt;/P&gt;&lt;P&gt;example &lt;/P&gt;&lt;P&gt;=sum(&amp;nbsp; {&amp;lt;aq_date = {"&amp;lt;=$(=date(today(),'DateFormatFor_aq_date'))"} &amp;gt;}&amp;nbsp; whatever)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;in dimension&amp;nbsp; Try &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;AGGR(if(Max (&lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TOTAL&lt;/STRONG&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt; DATE (aq_date)) &amp;lt;= today()),aq_date),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;aq_date)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 13:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260637#M25679</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-21T13:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with if or countif</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260638#M25680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a ton Vineeth!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I removed total in your suggested dimension and it worked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;AGGR(if(Max (&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt; DATE (aq_date)) &amp;lt;= today()),aq_date),&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;aq_date)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 14:57:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260638#M25680</guid>
      <dc:creator />
      <dc:date>2016-12-21T14:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with if or countif</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260639#M25681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you didn't needed TOTAL; then you won't need Max as well&lt;/P&gt;&lt;P&gt;just try &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;AGGR(if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt; DATE (aq_date) &amp;lt;= today(),aq_date),&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;aq_date)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 15:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-if-or-countif/m-p/1260639#M25681</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-21T15:11:36Z</dc:date>
    </item>
  </channel>
</rss>

