<?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 Set Analysis Expression appears to be ignoring dimension in Line graph in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-appears-to-be-ignoring-dimension-in-Line/m-p/2509360#M104705</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am a fairly new Qlik Sense user.&amp;nbsp; I have a line chart with the expression below as the height of line measure.&amp;nbsp; In addition, I have a dimension of Fiscal_Year.&amp;nbsp; The expression seems to be ignoring the Fiscal_Year when calculating (the numbers are incorrect and appear to be cumulative in nature).&amp;nbsp; However, when I filter on a given Fiscal_Year it will yield the correct result for that given Fiscal_Year.&amp;nbsp; Any help wis appreciated - thanks!&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;=-sum({&amp;lt;[rsch_mon.PI_has_Lab]={1}&amp;gt;} rsch_mon.grant_exp_adj) /&lt;BR /&gt;sum(aggr({&amp;lt;[rsch_mon.PI_has_Lab]={1}&amp;gt;} sum([rsch_mon.SquareFootage_GrntLevel]/12),[rsch_mon.PI_ID],[rsch_mon.location],[rsch_mon.grant_id]))&lt;/P&gt;&lt;P&gt;Results (incorrect):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brettlong_0-1741724779211.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178407i7BB4CEC27ED12B08/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brettlong_0-1741724779211.png" alt="brettlong_0-1741724779211.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Results when filtered for 2024 (correct)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brettlong_1-1741724871155.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178408iE878E56F65589271/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brettlong_1-1741724871155.png" alt="brettlong_1-1741724871155.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 20:28:36 GMT</pubDate>
    <dc:creator>brettlong</dc:creator>
    <dc:date>2025-03-11T20:28:36Z</dc:date>
    <item>
      <title>Set Analysis Expression appears to be ignoring dimension in Line graph</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-appears-to-be-ignoring-dimension-in-Line/m-p/2509360#M104705</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am a fairly new Qlik Sense user.&amp;nbsp; I have a line chart with the expression below as the height of line measure.&amp;nbsp; In addition, I have a dimension of Fiscal_Year.&amp;nbsp; The expression seems to be ignoring the Fiscal_Year when calculating (the numbers are incorrect and appear to be cumulative in nature).&amp;nbsp; However, when I filter on a given Fiscal_Year it will yield the correct result for that given Fiscal_Year.&amp;nbsp; Any help wis appreciated - thanks!&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;=-sum({&amp;lt;[rsch_mon.PI_has_Lab]={1}&amp;gt;} rsch_mon.grant_exp_adj) /&lt;BR /&gt;sum(aggr({&amp;lt;[rsch_mon.PI_has_Lab]={1}&amp;gt;} sum([rsch_mon.SquareFootage_GrntLevel]/12),[rsch_mon.PI_ID],[rsch_mon.location],[rsch_mon.grant_id]))&lt;/P&gt;&lt;P&gt;Results (incorrect):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brettlong_0-1741724779211.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178407i7BB4CEC27ED12B08/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brettlong_0-1741724779211.png" alt="brettlong_0-1741724779211.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Results when filtered for 2024 (correct)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brettlong_1-1741724871155.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178408iE878E56F65589271/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brettlong_1-1741724871155.png" alt="brettlong_1-1741724871155.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 20:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-appears-to-be-ignoring-dimension-in-Line/m-p/2509360#M104705</guid>
      <dc:creator>brettlong</dc:creator>
      <dc:date>2025-03-11T20:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression appears to be ignoring dimension in Line graph</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-appears-to-be-ignoring-dimension-in-Line/m-p/2509362#M104706</link>
      <description>&lt;P&gt;I just realized the error in my ways.&amp;nbsp; I have fixed the formula for the measure and everything is working now.&amp;nbsp; Sorry &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 20:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-appears-to-be-ignoring-dimension-in-Line/m-p/2509362#M104706</guid>
      <dc:creator>brettlong</dc:creator>
      <dc:date>2025-03-11T20:34:40Z</dc:date>
    </item>
  </channel>
</rss>

