<?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: Explanation of two expressions returning zero values and when are they shown in a chart. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Explanation-of-two-expressions-returning-zero-values-and-when/m-p/1867705#M71652</link>
    <description>&lt;P&gt;Hi Morgoz,&lt;/P&gt;
&lt;P&gt;i guess your If function in your first expression is just testing all your datasets for your condition and is replacing the value of those datasets that do not meet your condition with 0, while your second expression is reducing your datasets to those that meet your condition (set expression can be understand as a filter). That means the dates, where your condition is no met are not available anymore and therefore are missing in your chart.&lt;/P&gt;
&lt;P&gt;Hope this answers your question.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Can&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Dec 2021 16:59:30 GMT</pubDate>
    <dc:creator>canerkan</dc:creator>
    <dc:date>2021-12-07T16:59:30Z</dc:date>
    <item>
      <title>Explanation of two expressions returning zero values and when are they shown in a chart.</title>
      <link>https://community.qlik.com/t5/App-Development/Explanation-of-two-expressions-returning-zero-values-and-when/m-p/1867673#M71651</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'd like to know what is the difference, or why this expression:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;count(if(CANAL = 'Sin Canal', ID_DQ_FACTS))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Does not displays in a line chart the same way as this:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;count({&amp;lt;CANAL = {"Sin Canal"}&amp;gt;}ID_DQ_FACTS)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The first shows like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Morgoz_0-1638892924259.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68099iFEBDE33BBBF72097/image-size/large?v=v2&amp;amp;px=999" role="button" title="Morgoz_0-1638892924259.png" alt="Morgoz_0-1638892924259.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(Shows zero values)&lt;/P&gt;
&lt;P&gt;And the second shows like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Morgoz_1-1638892991160.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68100i3C6DD07A89AB80F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Morgoz_1-1638892991160.png" alt="Morgoz_1-1638892991160.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(Zero values have disappeared).&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 15:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Explanation-of-two-expressions-returning-zero-values-and-when/m-p/1867673#M71651</guid>
      <dc:creator>Morgoz</dc:creator>
      <dc:date>2021-12-22T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Explanation of two expressions returning zero values and when are they shown in a chart.</title>
      <link>https://community.qlik.com/t5/App-Development/Explanation-of-two-expressions-returning-zero-values-and-when/m-p/1867705#M71652</link>
      <description>&lt;P&gt;Hi Morgoz,&lt;/P&gt;
&lt;P&gt;i guess your If function in your first expression is just testing all your datasets for your condition and is replacing the value of those datasets that do not meet your condition with 0, while your second expression is reducing your datasets to those that meet your condition (set expression can be understand as a filter). That means the dates, where your condition is no met are not available anymore and therefore are missing in your chart.&lt;/P&gt;
&lt;P&gt;Hope this answers your question.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Can&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 16:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Explanation-of-two-expressions-returning-zero-values-and-when/m-p/1867705#M71652</guid>
      <dc:creator>canerkan</dc:creator>
      <dc:date>2021-12-07T16:59:30Z</dc:date>
    </item>
  </channel>
</rss>

