<?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: Bart chart not showing bar after using in sheet filter that equals 0 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Bart-chart-not-showing-bar-after-using-in-sheet-filter-that/m-p/1029931#M15789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can include the Weekday filter in the set analysis, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;STRONG&gt;({&amp;lt;WeekDay = {"&amp;gt;=0&amp;lt;=4"}&amp;gt;}&lt;/STRONG&gt;Value) + sum({1&lt;STRONG&gt;&amp;lt;WeekDay = {"&amp;gt;=0&amp;lt;=4"}&amp;gt;}&lt;/STRONG&gt;0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second sum() is adding zero to all lines, hence doesn't change the result of your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interesting part is the set expression used ({1} in the original answer). The set expression should exclude all selections that limit the possible WeekDay values, the most simple way is to use set identifier 1 (all records in the data model, no user selections). QS will only show dimension values that are possible in the scope of the aggregations used in your expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Feb 2016 21:26:35 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-02-14T21:26:35Z</dc:date>
    <item>
      <title>Bart chart not showing bar after using in sheet filter that equals 0</title>
      <link>https://community.qlik.com/t5/App-Development/Bart-chart-not-showing-bar-after-using-in-sheet-filter-that/m-p/1029928#M15786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart with the following Dimension with the calendar that shows each day of the week:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;DECLARE FIELD DEFINITION TAGGED '$date'&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;first_month_of_year = 1&lt;/P&gt;&lt;P&gt;Fields&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Weekday($1) as Weekday Tagged '$weekday',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DayNumberOfYear($1, first_month_of_year) as DayNumberOfYear Tagged ('$numeric');&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;DERIVE FIELDS FROM FIELDS "Fecha Registro" USING Calendar;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the Measure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Hours)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table next to the bar chart to be able to filter by each person how much hours have worked each day of the week (From Monday to Friday).&lt;/P&gt;&lt;P&gt;When using the filter, you get that not everyone have worked everyday, so the bar chart starts moving.&lt;/P&gt;&lt;P&gt;The problem is that I need the X axis (Day of the week) to not dissapear if that day is equal to 0.&lt;/P&gt;&lt;P&gt;I tried Show Nulls and Zero Values but it doesn't do the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2016 00:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bart-chart-not-showing-bar-after-using-in-sheet-filter-that/m-p/1029928#M15786</guid>
      <dc:creator>patriciousa</dc:creator>
      <dc:date>2016-02-14T00:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Bart chart not showing bar after using in sheet filter that equals 0</title>
      <link>https://community.qlik.com/t5/App-Development/Bart-chart-not-showing-bar-after-using-in-sheet-filter-that/m-p/1029929#M15787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to change your expression to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Hours) &lt;STRONG&gt;+ Sum({1} 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2016 15:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bart-chart-not-showing-bar-after-using-in-sheet-filter-that/m-p/1029929#M15787</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-14T15:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bart chart not showing bar after using in sheet filter that equals 0</title>
      <link>https://community.qlik.com/t5/App-Development/Bart-chart-not-showing-bar-after-using-in-sheet-filter-that/m-p/1029930#M15788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are great swuehl!, Thank you very much!&lt;/P&gt;&lt;P&gt;One more little thing. Now I'm getting all days but I want to delete from the bart chart, Saturday and Sunday. How do I do it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And could you explain the syntax &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Sum({1} 0)? I want to understand what is doing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2016 16:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bart-chart-not-showing-bar-after-using-in-sheet-filter-that/m-p/1029930#M15788</guid>
      <dc:creator>patriciousa</dc:creator>
      <dc:date>2016-02-14T16:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bart chart not showing bar after using in sheet filter that equals 0</title>
      <link>https://community.qlik.com/t5/App-Development/Bart-chart-not-showing-bar-after-using-in-sheet-filter-that/m-p/1029931#M15789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can include the Weekday filter in the set analysis, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;STRONG&gt;({&amp;lt;WeekDay = {"&amp;gt;=0&amp;lt;=4"}&amp;gt;}&lt;/STRONG&gt;Value) + sum({1&lt;STRONG&gt;&amp;lt;WeekDay = {"&amp;gt;=0&amp;lt;=4"}&amp;gt;}&lt;/STRONG&gt;0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second sum() is adding zero to all lines, hence doesn't change the result of your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interesting part is the set expression used ({1} in the original answer). The set expression should exclude all selections that limit the possible WeekDay values, the most simple way is to use set identifier 1 (all records in the data model, no user selections). QS will only show dimension values that are possible in the scope of the aggregations used in your expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2016 21:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bart-chart-not-showing-bar-after-using-in-sheet-filter-that/m-p/1029931#M15789</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-14T21:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Bart chart not showing bar after using in sheet filter that equals 0</title>
      <link>https://community.qlik.com/t5/App-Development/Bart-chart-not-showing-bar-after-using-in-sheet-filter-that/m-p/1029932#M15790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your help swuehl. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2016 23:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bart-chart-not-showing-bar-after-using-in-sheet-filter-that/m-p/1029932#M15790</guid>
      <dc:creator>patriciousa</dc:creator>
      <dc:date>2016-02-14T23:49:48Z</dc:date>
    </item>
  </channel>
</rss>

