<?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 Bar Chart - Show Null Value with a dual() expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Show-Null-Value-with-a-dual-expression/m-p/1880680#M1216834</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I am quite&amp;nbsp; annoyed with my bar chart.&lt;/P&gt;
&lt;P&gt;I have a list of products sold with a discount or not.&lt;/P&gt;
&lt;P&gt;example:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Product, Nb sell with discount, nb sell without discount,&amp;nbsp; average amount of price&amp;nbsp; of discount&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Pen, 0,2,-&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Glass,2,8,50&lt;/P&gt;
&lt;P&gt;Mask ,1,0,10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem in my bar chart to show the Pen value.&amp;nbsp; I have my product as dimension and my expression is&lt;/P&gt;
&lt;P&gt;dual('Nb sell with discount :' &amp;amp; count([Nb sell with discount]), &lt;STRONG&gt;avg([amount of price&amp;nbsp; of discount])&lt;/STRONG&gt; )&lt;/P&gt;
&lt;P&gt;but because my average amount for pen is null, it is not showed in my graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is how to show Pen with a label &lt;STRONG&gt;Nb sell with discount : 0 &lt;/STRONG&gt;even my expression&amp;nbsp;&lt;STRONG&gt;avg([amount of price&amp;nbsp; of discount])&lt;/STRONG&gt; is null &lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Thank you so so much for your help,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 13:11:06 GMT</pubDate>
    <dc:creator>Touix</dc:creator>
    <dc:date>2022-01-13T13:11:06Z</dc:date>
    <item>
      <title>Bar Chart - Show Null Value with a dual() expression</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Show-Null-Value-with-a-dual-expression/m-p/1880680#M1216834</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I am quite&amp;nbsp; annoyed with my bar chart.&lt;/P&gt;
&lt;P&gt;I have a list of products sold with a discount or not.&lt;/P&gt;
&lt;P&gt;example:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Product, Nb sell with discount, nb sell without discount,&amp;nbsp; average amount of price&amp;nbsp; of discount&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Pen, 0,2,-&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Glass,2,8,50&lt;/P&gt;
&lt;P&gt;Mask ,1,0,10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem in my bar chart to show the Pen value.&amp;nbsp; I have my product as dimension and my expression is&lt;/P&gt;
&lt;P&gt;dual('Nb sell with discount :' &amp;amp; count([Nb sell with discount]), &lt;STRONG&gt;avg([amount of price&amp;nbsp; of discount])&lt;/STRONG&gt; )&lt;/P&gt;
&lt;P&gt;but because my average amount for pen is null, it is not showed in my graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is how to show Pen with a label &lt;STRONG&gt;Nb sell with discount : 0 &lt;/STRONG&gt;even my expression&amp;nbsp;&lt;STRONG&gt;avg([amount of price&amp;nbsp; of discount])&lt;/STRONG&gt; is null &lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Thank you so so much for your help,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 13:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Show-Null-Value-with-a-dual-expression/m-p/1880680#M1216834</guid>
      <dc:creator>Touix</dc:creator>
      <dc:date>2022-01-13T13:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart - Show Null Value with a dual() expression</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Show-Null-Value-with-a-dual-expression/m-p/1880688#M1216836</link>
      <description>&lt;P&gt;May be try&amp;nbsp;alt(avg([amount of price of discount]),0) to have value 0 in case expression results into null.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 13:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Show-Null-Value-with-a-dual-expression/m-p/1880688#M1216836</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2022-01-13T13:25:17Z</dc:date>
    </item>
  </channel>
</rss>

