<?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 Qlik Sense Dynamic Axis Range in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamic-Axis-Range/m-p/2546476#M109939</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have a combo chart in QlikSense with:&lt;BR /&gt;- X-axis: Month Name&lt;BR /&gt;- Two lines: 2025 data and 2026 data&lt;BR /&gt;- Y-axis: Sales Quantity&lt;/P&gt;&lt;P&gt;The chart is not affected by any selection (except WarehouseType and RegionName). For example 2025 Sales expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({1&amp;lt;Year={'2025'},WarehouseType = $::WarehouseType,RegionName = $::RegionName&amp;gt;}SalesQuantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm trying to set a dynamic Y-axis range using this formula:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;=max(aggr(sum({1&amp;lt;WarehouseType = $::WarehouseType,RegionName = $::RegionName&amp;gt;}SalesQuantity),YearMonth)) * 1.6&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Issues:&lt;BR /&gt;- Works fine with no selection&lt;BR /&gt;- Axis collapses/breaks when a date is selected&lt;BR /&gt;- The aggregation by yearMonth seems to conflict with date filtering&lt;/P&gt;&lt;P&gt;How can I revise it in a way that won't be affected by date selections?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2026 08:53:01 GMT</pubDate>
    <dc:creator>muratmert41</dc:creator>
    <dc:date>2026-04-09T08:53:01Z</dc:date>
    <item>
      <title>Qlik Sense Dynamic Axis Range</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamic-Axis-Range/m-p/2546476#M109939</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have a combo chart in QlikSense with:&lt;BR /&gt;- X-axis: Month Name&lt;BR /&gt;- Two lines: 2025 data and 2026 data&lt;BR /&gt;- Y-axis: Sales Quantity&lt;/P&gt;&lt;P&gt;The chart is not affected by any selection (except WarehouseType and RegionName). For example 2025 Sales expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({1&amp;lt;Year={'2025'},WarehouseType = $::WarehouseType,RegionName = $::RegionName&amp;gt;}SalesQuantity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm trying to set a dynamic Y-axis range using this formula:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;=max(aggr(sum({1&amp;lt;WarehouseType = $::WarehouseType,RegionName = $::RegionName&amp;gt;}SalesQuantity),YearMonth)) * 1.6&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Issues:&lt;BR /&gt;- Works fine with no selection&lt;BR /&gt;- Axis collapses/breaks when a date is selected&lt;BR /&gt;- The aggregation by yearMonth seems to conflict with date filtering&lt;/P&gt;&lt;P&gt;How can I revise it in a way that won't be affected by date selections?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 08:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamic-Axis-Range/m-p/2546476#M109939</guid>
      <dc:creator>muratmert41</dc:creator>
      <dc:date>2026-04-09T08:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Dynamic Axis Range</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamic-Axis-Range/m-p/2546481#M109940</link>
      <description>&lt;P&gt;You may try to add a set statement to ignore a date-selection maybe also in all aggregation parts. It may go in the following direction:&lt;/P&gt;&lt;P&gt;max({&amp;lt; Date &amp;gt;} aggr({&amp;lt; Date &amp;gt;} sum({&amp;lt; Date, some more ... &amp;gt;} Value), Dim))&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 09:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamic-Axis-Range/m-p/2546481#M109940</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2026-04-09T09:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Dynamic Axis Range</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamic-Axis-Range/m-p/2546505#M109942</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it didn't work. I tried this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=max({1&amp;lt;Date,YearMonth,WarehouseType = $::WarehouseType,RegionName = $::RegionName&amp;gt;}&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;aggr({1&amp;lt;Date,YearMonth,WarehouseType = $::WarehouseType,RegionName = $::RegionName&amp;gt;} &lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;sum({1&amp;lt;{&amp;lt;Date,YearMonth,WarehouseType = $::WarehouseType,RegionName = $::RegionName&amp;gt;}SalesQuantity),YearMonth)) * 1.6&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and this:&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;=max({1&amp;lt;Date,YearMonth,Year,Month&amp;gt;}&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;aggr({1&amp;lt;Date,YearMonth,Year,Month&amp;gt;} &lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;sum({1&amp;lt;{&amp;lt;Date,YearMonth,Year,Month,WarehouseType = $::WarehouseType,RegionName = $::RegionName&amp;gt;}SalesQuantity),YearMonth)) * 1.6&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 12:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamic-Axis-Range/m-p/2546505#M109942</guid>
      <dc:creator>muratmert41</dc:creator>
      <dc:date>2026-04-09T12:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Dynamic Axis Range</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamic-Axis-Range/m-p/2546511#M109943</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/324274"&gt;@muratmert41&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want the date selections to not affect the calculation of the max range, maybe just this formula is needed:&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;=max({1} aggr(sum({1&amp;lt;WarehouseType = $::WarehouseType,RegionName = $::RegionName&amp;gt;}SalesQuantity),YearMonth)) * 1.6&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you, please, provide a screenshot of your combo chart with the issue to better understand your settings?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 12:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamic-Axis-Range/m-p/2546511#M109943</guid>
      <dc:creator>Daniel_Castella</dc:creator>
      <dc:date>2026-04-09T12:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Dynamic Axis Range</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamic-Axis-Range/m-p/2546512#M109944</link>
      <description>&lt;P&gt;Transfer your chart also into a table-chart and apply there the max() versions as separate expressions. They need to be there also working as expected in regard to no respectively certain selections.&lt;/P&gt;&lt;P&gt;Keep also attention that there are several (alternate) states included - which adds at least extra complexity. Maybe selections to WarehouseType and RegionName needs to ignored within the outer sets and not synchronized and/or it needs some (nested) p() and e() constructs to transfer the selection states.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 13:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamic-Axis-Range/m-p/2546512#M109944</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2026-04-09T13:05:09Z</dc:date>
    </item>
  </channel>
</rss>

