<?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 QlikSense: Expression does not reduce DimensionValues (since Sep'17 Release) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QlikSense-Expression-does-not-reduce-DimensionValues-since-Sep/m-p/18351#M1255</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 would appreciate your help in following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We upgraded QS-release from 3.2 to september release.&lt;/P&gt;&lt;P&gt;We used several bar charts. The dimensions are time (Week) and Category. The expression is a sum of values, limited to past 3 weeks based on max possible date. Meaning, once the user selects a date, the expression displays past three weeks of &lt;SPAN style="text-decoration: underline;"&gt;the selected date&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That scenario worked properly before upgrading QS-release. Unfortunately after we upgraded to Release September 2017 that chart reacted differently. &lt;/P&gt;&lt;P&gt;--&amp;gt; Time dimension was no longer reduced by expression. I found the entire range of the dimension without any chance to reduce it by expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found no "clean" way to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround 1:&lt;/P&gt;&lt;P&gt;Result set of Dimension ''Week'' gets shrinked by usage of aggr(only()), so that view is limited to past 3 weeks.&lt;/P&gt;&lt;P&gt;Unfortunately the chart does not react to changes made in filter ''Date''. Additionally aggr() in Dimension is bad performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround 2:&lt;/P&gt;&lt;P&gt;Option ''Include zero values'' in Section ''Add-Ons'' is deactivated.&lt;/P&gt;&lt;P&gt;Unfortunately all zero-values disappear (even for "past 3 weeks"), so that worthwhile information possibly does not get displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround 2.1:&lt;/P&gt;&lt;P&gt;Same scenario as in Workaround 2... &lt;/P&gt;&lt;P&gt;To avoid hiding zero-values within "past 3 weeks" I added an extremely small value (+ 0.0000001) to the expression --&amp;gt; not visible for user. This works but I guess we agree on the statement that manipulation of values should be prevented in all cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea on that one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make this scenario more understandable I built an exemplary app and uploaded .qvf-file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to get some good ideas. Thanks in advance for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serjoscha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Feb 2018 18:06:39 GMT</pubDate>
    <dc:creator>serjoscha_szillat</dc:creator>
    <dc:date>2018-02-13T18:06:39Z</dc:date>
    <item>
      <title>QlikSense: Expression does not reduce DimensionValues (since Sep'17 Release)</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Expression-does-not-reduce-DimensionValues-since-Sep/m-p/18351#M1255</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 would appreciate your help in following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We upgraded QS-release from 3.2 to september release.&lt;/P&gt;&lt;P&gt;We used several bar charts. The dimensions are time (Week) and Category. The expression is a sum of values, limited to past 3 weeks based on max possible date. Meaning, once the user selects a date, the expression displays past three weeks of &lt;SPAN style="text-decoration: underline;"&gt;the selected date&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That scenario worked properly before upgrading QS-release. Unfortunately after we upgraded to Release September 2017 that chart reacted differently. &lt;/P&gt;&lt;P&gt;--&amp;gt; Time dimension was no longer reduced by expression. I found the entire range of the dimension without any chance to reduce it by expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found no "clean" way to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround 1:&lt;/P&gt;&lt;P&gt;Result set of Dimension ''Week'' gets shrinked by usage of aggr(only()), so that view is limited to past 3 weeks.&lt;/P&gt;&lt;P&gt;Unfortunately the chart does not react to changes made in filter ''Date''. Additionally aggr() in Dimension is bad performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround 2:&lt;/P&gt;&lt;P&gt;Option ''Include zero values'' in Section ''Add-Ons'' is deactivated.&lt;/P&gt;&lt;P&gt;Unfortunately all zero-values disappear (even for "past 3 weeks"), so that worthwhile information possibly does not get displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround 2.1:&lt;/P&gt;&lt;P&gt;Same scenario as in Workaround 2... &lt;/P&gt;&lt;P&gt;To avoid hiding zero-values within "past 3 weeks" I added an extremely small value (+ 0.0000001) to the expression --&amp;gt; not visible for user. This works but I guess we agree on the statement that manipulation of values should be prevented in all cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea on that one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make this scenario more understandable I built an exemplary app and uploaded .qvf-file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to get some good ideas. Thanks in advance for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serjoscha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 18:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Expression-does-not-reduce-DimensionValues-since-Sep/m-p/18351#M1255</guid>
      <dc:creator>serjoscha_szillat</dc:creator>
      <dc:date>2018-02-13T18:06:39Z</dc:date>
    </item>
  </channel>
</rss>

