<?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: How to restrict dynamically the range of data displayed on x-axis? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-restrict-dynamically-the-range-of-data-displayed-on-x/m-p/2439198#M97152</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've you tried to uncheck Include 0 values the Data handling secion ?&amp;nbsp;&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="maximepiquetcointe_0-1712651686378.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/163717i60DBAF10CF89AE78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="maximepiquetcointe_0-1712651686378.png" alt="maximepiquetcointe_0-1712651686378.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2024 08:34:56 GMT</pubDate>
    <dc:creator>mpc</dc:creator>
    <dc:date>2024-04-09T08:34:56Z</dc:date>
    <item>
      <title>How to restrict dynamically the range of data displayed on x-axis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-restrict-dynamically-the-range-of-data-displayed-on-x/m-p/2439011#M97141</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following dataset:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phraid_0-1712589829984.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/163672i29B18499B6D970E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="phraid_0-1712589829984.png" alt="phraid_0-1712589829984.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I display the nb of sales with accumulation per DCP and it works fine:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phraid_1-1712589937229.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/163673i4EEBDCF2290712B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="phraid_1-1712589937229.png" alt="phraid_1-1712589937229.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Starting from that point, I want to display only the DCPs equal or superior to 2 for instance (obviously, in my real case, the limit (2 here) is more complex and is based on a computation taking into account other fields of the table that I don't show here... but let's start "simple" and it is important to notice that I cannot apply a manual filter).&lt;/P&gt;
&lt;P&gt;I edited the expression with something like:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sum({$&amp;lt;DCP = {"&amp;gt;= 2"}&amp;gt;} NbSales)&lt;/P&gt;
&lt;P&gt;But it still displays all the DCPs, whereas I would expect to not see the DCPs 1 and 0.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phraid_2-1712590458781.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/163674iD69100BA7478E503/image-size/medium?v=v2&amp;amp;px=400" role="button" title="phraid_2-1712590458781.png" alt="phraid_2-1712590458781.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Any ideas would be very appreciated&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards, Fred&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 15:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-restrict-dynamically-the-range-of-data-displayed-on-x/m-p/2439011#M97141</guid>
      <dc:creator>phraid</dc:creator>
      <dc:date>2024-04-08T15:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict dynamically the range of data displayed on x-axis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-restrict-dynamically-the-range-of-data-displayed-on-x/m-p/2439198#M97152</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've you tried to uncheck Include 0 values the Data handling secion ?&amp;nbsp;&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="maximepiquetcointe_0-1712651686378.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/163717i60DBAF10CF89AE78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="maximepiquetcointe_0-1712651686378.png" alt="maximepiquetcointe_0-1712651686378.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 08:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-restrict-dynamically-the-range-of-data-displayed-on-x/m-p/2439198#M97152</guid>
      <dc:creator>mpc</dc:creator>
      <dc:date>2024-04-09T08:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict dynamically the range of data displayed on x-axis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-restrict-dynamically-the-range-of-data-displayed-on-x/m-p/2439290#M97156</link>
      <description>&lt;P&gt;If you didn't want to show all values and/or limiting them in any way you will need to apply appropriate conditions to your expression, simplified something like this:&lt;/P&gt;
&lt;P&gt;if(Condition1, MyExpression1, if(Condition2, MyExpression2, 'myDefault'))&lt;/P&gt;
&lt;P&gt;whereby 'myDefault' might be also NULL or ZERO or the (TOTAL) max. Value/Count of any dimension/expression.&lt;/P&gt;
&lt;P&gt;Beside applying everything in (nested) if-loops you may also use a wrapping with range-functions like:&lt;/P&gt;
&lt;P&gt;rangemin(MyDefault, MyExpression)&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 11:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-restrict-dynamically-the-range-of-data-displayed-on-x/m-p/2439290#M97156</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-04-09T11:16:50Z</dc:date>
    </item>
  </channel>
</rss>

