<?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: Calcul a Measure fixed in a year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calcul-a-Measure-fixed-in-a-year/m-p/2525269#M107007</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/338102"&gt;@HS_1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Well, to "fixate" the annual budget in a layout object, you'll have to do something of this kind, and the specifics really depend on the composition of your sheet objects - tables, charts, etc... You may or may not need the AGGR() function. You may not need to use field selections for this purpose. You might be able to use the TOTAL qualifier in certain situations, but not always.&lt;/P&gt;&lt;P&gt;Hence a valid question by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/102209"&gt;@JHuis&lt;/a&gt;&amp;nbsp;- what are you trying to accomplish? More specifically, in what sheet objects are you trying to show the annual budget, and what are the corresponding Dimensions in these charts? That will determine the best solution for the problem.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jul 2025 19:54:44 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2025-07-24T19:54:44Z</dc:date>
    <item>
      <title>Calcul a Measure fixed in a year</title>
      <link>https://community.qlik.com/t5/App-Development/Calcul-a-Measure-fixed-in-a-year/m-p/2525190#M106991</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="273" data-end="304"&gt;Hello everyone,&lt;/P&gt;
&lt;P data-start="306" data-end="542"&gt;In Qlik Cloud, I want to create budget measures that remain fixed for the entire year. For example, if the budget for Nature1 (in the field Nature) is 10,000, I want this value to stay the same no matter which quarter or month I select.&lt;/P&gt;
&lt;P data-start="544" data-end="649"&gt;This is what I've done&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;FONT color="#800000"&gt;&lt;CODE class="whitespace-pre! language-qlik"&gt;&lt;SPAN&gt;Sum(
  Aggr(
    Sum({&amp;lt;
      Year = {"$(=If(GetSelectedCount(Year)=0 or IsNull(GetFieldSelections(Year)) or GetFieldSelections(Year)='', Year(Today()), Max(Year)))"},
      Month=,
      Quarter=,
      Date=
    &amp;gt;} Budget),
    Year, Zone, Nature
  )
)&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P data-start="919" data-end="1136"&gt;The problem is that I have to list &lt;STRONG data-start="963" data-end="990"&gt;manually all the fields&lt;/STRONG&gt; (Year, Zone, Nature, etc.) in the Aggr() function and also it don't give me the correct resutl.&lt;/P&gt;
&lt;P data-start="919" data-end="1136"&gt;&lt;SPAN&gt;Is there a way to fix the budget values for the whole year &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;" data-start="1197" data-end="1247"&gt;without having to list all the fields manually&lt;/STRONG&gt;&lt;SPAN&gt; in the Aggr or set analysis? Or is there a better approach to achieve this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-start="1325" data-end="1357"&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 10:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calcul-a-Measure-fixed-in-a-year/m-p/2525190#M106991</guid>
      <dc:creator>HS_1</dc:creator>
      <dc:date>2025-07-24T10:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calcul a Measure fixed in a year</title>
      <link>https://community.qlik.com/t5/App-Development/Calcul-a-Measure-fixed-in-a-year/m-p/2525215#M106994</link>
      <description>&lt;P&gt;What are you looking to archieve? to create a table or something like that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 12:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calcul-a-Measure-fixed-in-a-year/m-p/2525215#M106994</guid>
      <dc:creator>JHuis</dc:creator>
      <dc:date>2025-07-24T12:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calcul a Measure fixed in a year</title>
      <link>https://community.qlik.com/t5/App-Development/Calcul-a-Measure-fixed-in-a-year/m-p/2525269#M107007</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/338102"&gt;@HS_1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Well, to "fixate" the annual budget in a layout object, you'll have to do something of this kind, and the specifics really depend on the composition of your sheet objects - tables, charts, etc... You may or may not need the AGGR() function. You may not need to use field selections for this purpose. You might be able to use the TOTAL qualifier in certain situations, but not always.&lt;/P&gt;&lt;P&gt;Hence a valid question by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/102209"&gt;@JHuis&lt;/a&gt;&amp;nbsp;- what are you trying to accomplish? More specifically, in what sheet objects are you trying to show the annual budget, and what are the corresponding Dimensions in these charts? That will determine the best solution for the problem.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 19:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calcul-a-Measure-fixed-in-a-year/m-p/2525269#M107007</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2025-07-24T19:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calcul a Measure fixed in a year</title>
      <link>https://community.qlik.com/t5/App-Development/Calcul-a-Measure-fixed-in-a-year/m-p/2525285#M107011</link>
      <description>&lt;P&gt;&lt;BR /&gt;=Sum({1&amp;lt; Year = {"$(=If(GetSelectedCount(Year)=0 or IsNull(GetFieldSelections(Year)) or GetFieldSelections(Year)='', Year(Today()), Max(Year)))"}, Month=, Quarter=, Date=, Zone, Nature &amp;gt;} Budget)&lt;/P&gt;&lt;P&gt;but need clarification on where you are using these expression like in table or kpi?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 02:55:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calcul-a-Measure-fixed-in-a-year/m-p/2525285#M107011</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2025-07-25T02:55:13Z</dc:date>
    </item>
  </channel>
</rss>

