<?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: Issue related to zero values in the bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-related-to-zero-values-in-the-bar-chart/m-p/1752309#M719651</link>
    <description>&lt;P&gt;I could find the answer for this by changing the expression to below.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if( rowno()&amp;lt;=4, if(sum(Count)=0, '',sum(Count)) ,&lt;/P&gt;&lt;P&gt;if(rowno()=5, RangeSum(below(sum(Count),0,3)))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sasik_0-1602671008162.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42207i4DE54236FEBCEB26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sasik_0-1602671008162.png" alt="Sasik_0-1602671008162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SasiK&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2020 10:25:34 GMT</pubDate>
    <dc:creator>Sasik</dc:creator>
    <dc:date>2020-10-14T10:25:34Z</dc:date>
    <item>
      <title>Issue related to zero values in the bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-related-to-zero-values-in-the-bar-chart/m-p/1751842#M719649</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a bar chart where I need to add Saturday and Sunday values to Friday bar. And Saturday and Sunday bars should not be displayed on the chart. Please find the below example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an inline load code as below.&lt;/P&gt;&lt;P&gt;load * Inline [&lt;BR /&gt;Date, Count&lt;BR /&gt;31/08/2020, 0&lt;BR /&gt;01/09/2020, 10&lt;BR /&gt;02/09/2020, 20&lt;BR /&gt;03/09/2020, 30&lt;BR /&gt;04/09/2020, 10&lt;BR /&gt;05/09/2020, 10&lt;BR /&gt;06/09/2020, 10&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;Here the dates 31st Aug to 6th Sep represent Monday to Sunday.&lt;/P&gt;&lt;P&gt;When I developed a bar chart out of this code 'Date' as dimension and 'Count' as measure the chart display as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sasik_0-1602576401368.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42132i08788A8F7EC9AC7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sasik_0-1602576401368.png" alt="Sasik_0-1602576401368.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to add Saturday and Sunday values to Friday bar (5th and 6th values added to 4th) the chart looks like below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sasik_1-1602576401384.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42134iF894CC09654D07BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sasik_1-1602576401384.png" alt="Sasik_1-1602576401384.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression used: &lt;/STRONG&gt;&lt;BR /&gt;if( rowno()&amp;lt;=4, sum(Count),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(rowno()=5, RangeSum(below(sum(Count),0,3)))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But I need to display the values only from Monday to Friday. If I use ‘Supress zero values’ option in Presentation tab, then I am missing Monday value also as below (31st Aug missing which is a zero value).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sasik_2-1602576401387.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42133iC0E34D8D4E88F6C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sasik_2-1602576401387.png" alt="Sasik_2-1602576401387.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this scenario how can I get Monday to Friday values only though there are zero values for any bar. Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SasiK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-related-to-zero-values-in-the-bar-chart/m-p/1751842#M719649</guid>
      <dc:creator>Sasik</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue related to zero values in the bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-related-to-zero-values-in-the-bar-chart/m-p/1752309#M719651</link>
      <description>&lt;P&gt;I could find the answer for this by changing the expression to below.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if( rowno()&amp;lt;=4, if(sum(Count)=0, '',sum(Count)) ,&lt;/P&gt;&lt;P&gt;if(rowno()=5, RangeSum(below(sum(Count),0,3)))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sasik_0-1602671008162.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42207i4DE54236FEBCEB26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sasik_0-1602671008162.png" alt="Sasik_0-1602671008162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SasiK&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 10:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-related-to-zero-values-in-the-bar-chart/m-p/1752309#M719651</guid>
      <dc:creator>Sasik</dc:creator>
      <dc:date>2020-10-14T10:25:34Z</dc:date>
    </item>
  </channel>
</rss>

