<?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: Exclude null values and calculate Sales % in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253836#M872352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Maybe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #800000;"&gt;Sales&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;RangeSum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Top&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Sales&lt;/SPAN&gt;),1,&lt;SPAN style="color: #0000ff;"&gt;NoOfRows&lt;/SPAN&gt;())) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2016 17:44:06 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2016-11-15T17:44:06Z</dc:date>
    <item>
      <title>Exclude null values and calculate Sales %</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253830#M872346</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;Please refer the attachment, I've used below expression and trying to achieve attached expected output screen (i.e exclude null from the country and calculate Sales %). please advise me. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Country &lt;/P&gt;&lt;P&gt;=if(WildMatch(Country,'SAUDI ARABIA','INDONESIA','UAE','THAILAND','MALAYSIA','VIETNAM','SOUTH KOREA','INDIA','PHILIPPINES','MACAU','CAMBODIA'),Country)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sales=Sum(TotalNetprice)&lt;/P&gt;&lt;P&gt;Sales %= &lt;SPAN style="font-size: 13.3333px;"&gt;Sum(TotalNetprice)/ &lt;SPAN style="font-size: 13.3333px;"&gt;Sum(TOTAL TotalNetprice)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Expected output.jpg" class="jive-image image-1" src="/legacyfs/online/143934_Expected output.jpg" style="height: 245px; width: 620px;" /&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/Exclude-null-values-and-calculate-Sales/m-p/1253830#M872346</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude null values and calculate Sales %</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253831#M872347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it with hide NULL by your dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 17:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253831#M872347</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-11-15T17:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude null values and calculate Sales %</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253832#M872348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically check the 'Suppress When Value is Null' on the dimension tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143935_Capture.PNG" style="height: 547px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 17:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253832#M872348</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-15T17:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude null values and calculate Sales %</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253833#M872349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I have tried doing that method. But the Sales % still takes into account the NULL values. Any idea on how to apply where clause or any other logic in the sales % expression? [Attached the sample data and document]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 17:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253833#M872349</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2016-11-15T17:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude null values and calculate Sales %</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253834#M872350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using set analysis instead of calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143945_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 17:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253834#M872350</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-15T17:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude null values and calculate Sales %</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253835#M872351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if you have no issues in using a straight table instead of a pivot table, you can simplify your second expression by using 'relative' check mark for your second expression and use Column(1) as expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143946_Capture.PNG" style="height: 236px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 17:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253835#M872351</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-15T17:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude null values and calculate Sales %</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253836#M872352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Maybe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #800000;"&gt;Sales&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;RangeSum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Top&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Sales&lt;/SPAN&gt;),1,&lt;SPAN style="color: #0000ff;"&gt;NoOfRows&lt;/SPAN&gt;())) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 17:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-null-values-and-calculate-Sales/m-p/1253836#M872352</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2016-11-15T17:44:06Z</dc:date>
    </item>
  </channel>
</rss>

