<?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 on missing data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-on-missing-data/m-p/1429311#M808915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much. This fixed the bug:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Oct 2017 18:36:48 GMT</pubDate>
    <dc:creator>surajdhall</dc:creator>
    <dc:date>2017-10-10T18:36:48Z</dc:date>
    <item>
      <title>aggr on missing data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-on-missing-data/m-p/1429309#M808913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In My &lt;STRONG&gt;trend column&lt;/STRONG&gt; the background doesn't appear when there is no data in the first month. But the normal trend gives correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="no background color.PNG" class="jive-image image-1" src="/legacyfs/online/179163_no background color.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&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/aggr-on-missing-data/m-p/1429309#M808913</guid>
      <dc:creator>surajdhall</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: aggr on missing data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-on-missing-data/m-p/1429310#M808914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add NODISTINCT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(&lt;SPAN style="color: #ff0000;"&gt;NODISTINCT&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(FirstSortedValue(TOTAL &amp;lt;Product, Status&amp;gt; Aggr(sum(Margin)/sum(Sales), Product, Status, MonthYear), Aggr(MonthYear, Product, Status, MonthYear)) &amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(TOTAL &amp;lt;Product, Status&amp;gt; Aggr(sum(Margin)/sum(Sales), Product, Status, MonthYear), -Aggr(MonthYear, Product, Status, MonthYear)), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rgb(179,217,255),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(TOTAL &amp;lt;Product, Status&amp;gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr(If(Len(Trim(Below(Sum(Margin)/Sum(Sales)))) &amp;gt; 0 and Len(Trim(Sum(Margin)/Sum(Sales))) &amp;gt; 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Round(Alt(Below(Sum(Margin)/Sum(Sales)), 0), 0.0001) &amp;lt; Round(Alt(Sum(Margin)/Sum(Sales), 0), 0.0001), 1, 0)), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, Status, MonthYear)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) = 0, Green(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(TOTAL &amp;lt;Product, Status&amp;gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr(If(Len(Trim(Below(Sum(Margin)/Sum(Sales)))) &amp;gt; 0 and Len(Trim(Sum(Margin)/Sum(Sales))) &amp;gt; 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Round(Alt(Below(Sum(Margin)/Sum(Sales)), 0), 0.0001) &amp;lt; Round(Alt(Sum(Margin)/Sum(Sales), 0), 0.0001), 1, 0)), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Product, Status, MonthYear)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) = 1, Yellow(), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Brown()))), Product, Status)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179161_Capture.PNG" style="height: 112px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 18:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-on-missing-data/m-p/1429310#M808914</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-10T18:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: aggr on missing data</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-on-missing-data/m-p/1429311#M808915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much. This fixed the bug:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 18:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-on-missing-data/m-p/1429311#M808915</guid>
      <dc:creator>surajdhall</dc:creator>
      <dc:date>2017-10-10T18:36:48Z</dc:date>
    </item>
  </channel>
</rss>

