<?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 Total Count % issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-Count-issue/m-p/4122#M792828</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;tried to applied below calculated dimension and it's not working for % column. is there anyway to resolve this issue? thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement: if article Sold&amp;lt;=0 and soh&amp;lt;=0 then exclude else show the county by Grade (Calculated dimension)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Cal. Dimension: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(aggr(sum({$&amp;lt;Year={"$(=max(Year))"},Week={"$(=max(Week))"}&amp;gt;}SoldQty),ArticleNo)&amp;lt;=0 or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aggr(sum({$&amp;lt;Year={"$(=max(Year))"},Week={"$(=max(Week)+1)"},ShopNo-={'xxxxx'}&amp;gt;}soh),ArticleNo)&amp;lt;=0,&lt;/STRONG&gt;Null(),&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Aggr(If(rangesum(above(TOTAL (Sum({&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;}TotalNetPriceSGD)/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum(TOTAL {&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;} TotalNetPriceSGD)),0,RowNo(Total)))&amp;lt;=0.6,'A Stocks',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if(rangesum(above(TOTAL (Sum({&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;}TotalNetPriceSGD)/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum(TOTAL {&amp;lt;ArticleNo&amp;gt;}{$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;} TotalNetPriceSGD)),0,RowNo(Total)))&amp;gt;0.6 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;and rangesum(above(TOTAL (Sum({&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;}TotalNetPriceSGD)/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum(TOTAL {&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;} TotalNetPriceSGD)),0,RowNo(Total)))&amp;lt;=0.9,'B Stocks','C Stocks')),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ArticleNo, (=Sum({&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;}TotalNetPriceSGD), DESC)))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measure:&lt;/P&gt;&lt;P&gt;No. of Article %&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT ArticleNo)/ Count(total DISTINCT ArticleNo)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: above expression tried to merge with set analysis and count wrong and it's not working also (refer to the Method 1 chart object)&lt;/P&gt;&lt;P&gt;fyi, below 1st picture is the current o/p and bottom on is the expected output. thanks&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="190789" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190789_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>devarasu07</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Total Count % issue</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Count-issue/m-p/4122#M792828</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;tried to applied below calculated dimension and it's not working for % column. is there anyway to resolve this issue? thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement: if article Sold&amp;lt;=0 and soh&amp;lt;=0 then exclude else show the county by Grade (Calculated dimension)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Cal. Dimension: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(aggr(sum({$&amp;lt;Year={"$(=max(Year))"},Week={"$(=max(Week))"}&amp;gt;}SoldQty),ArticleNo)&amp;lt;=0 or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aggr(sum({$&amp;lt;Year={"$(=max(Year))"},Week={"$(=max(Week)+1)"},ShopNo-={'xxxxx'}&amp;gt;}soh),ArticleNo)&amp;lt;=0,&lt;/STRONG&gt;Null(),&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Aggr(If(rangesum(above(TOTAL (Sum({&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;}TotalNetPriceSGD)/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum(TOTAL {&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;} TotalNetPriceSGD)),0,RowNo(Total)))&amp;lt;=0.6,'A Stocks',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if(rangesum(above(TOTAL (Sum({&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;}TotalNetPriceSGD)/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum(TOTAL {&amp;lt;ArticleNo&amp;gt;}{$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;} TotalNetPriceSGD)),0,RowNo(Total)))&amp;gt;0.6 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;and rangesum(above(TOTAL (Sum({&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;}TotalNetPriceSGD)/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum(TOTAL {&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;} TotalNetPriceSGD)),0,RowNo(Total)))&amp;lt;=0.9,'B Stocks','C Stocks')),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ArticleNo, (=Sum({&amp;lt;ArticleNo&amp;gt;} {$&amp;lt;Year={"$(=Max(Year))"},Week={"$(=Max(Week))"}&amp;gt;}TotalNetPriceSGD), DESC)))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measure:&lt;/P&gt;&lt;P&gt;No. of Article %&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT ArticleNo)/ Count(total DISTINCT ArticleNo)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: above expression tried to merge with set analysis and count wrong and it's not working also (refer to the Method 1 chart object)&lt;/P&gt;&lt;P&gt;fyi, below 1st picture is the current o/p and bottom on is the expected output. thanks&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="190789" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190789_Capture.JPG" style="height: auto;" /&gt;&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/Total-Count-issue/m-p/4122#M792828</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Total Count % issue</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Count-issue/m-p/4123#M792829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you get to check my email?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this working&lt;/P&gt;&lt;P class="gmail_default" style="color: #20124d; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;STRONG&gt;[No. of Articles]/Sum(TOTAL Aggr(If(Aggr(Sum({$&amp;lt;Year={"$(=max(Year))"},Week={"$(=max(Week))"}&amp;gt;}SoldQty),ArticleNo)&amp;lt;=0 or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="gmail_default" style="color: #20124d; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;STRONG&gt;'CKS-WRTOFF','CKS-MKT','BRAND-MKT','CKS-CUST SVC','CKI-MKT','VSloc EC','VSloc CN','CKS-PS-DI','CK-MACAU'}&amp;gt;}soh),ArticleNo)&amp;lt;=0, Null(), Count(DISTINCT ArticleNo)), ArticleNo))&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="gmail_default" style="color: #20124d; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="gmail_default" style="color: #20124d; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190800_Capture.PNG" style="height: 80px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2018 15:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Count-issue/m-p/4123#M792829</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-21T15:17:08Z</dc:date>
    </item>
  </channel>
</rss>

