<?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: Ignore Date selection in Aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-Date-selection-in-Aggregation/m-p/2025805#M1222195</link>
    <description>&lt;P&gt;Hi, try adding a set analysis in the outer sum that includes all the data used in the aggr, like:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum({$&amp;lt;CalDt={"&amp;gt;=$(=date(YearStart(MaxDate)))&amp;lt;=$(=date(MaxDate))"}&amp;gt;} Aggr((&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sum({$&amp;lt;CalDt={"MaxDate))"}&amp;gt;} Value1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Sum({$&amp;lt;CalDt={"$(=date(YearStart(MaxDate)))"}&amp;gt;} Value2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Sum({$&amp;lt;CalDt={"&amp;gt;=$(=date(YearStart(MaxDate)))&amp;lt;=$(=date(MaxDate))"}&amp;gt;}Value3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)*PercentageShare, Account))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Jan 2023 10:48:45 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2023-01-14T10:48:45Z</dc:date>
    <item>
      <title>Ignore Date selection in Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Date-selection-in-Aggregation/m-p/2025109#M1222179</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;
&lt;P&gt;I have a scenario where in using the below expression for YTD. This is working fine in many cases but breaking in few.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While generating data for Q2 period&amp;nbsp;YTD is not populating correctly. Upon investigation found that some of the transactions are not flowing beyond Q1 so our aggregation on account is failing. I would need this aggregation to get the right PercentageShare value for corresponding account.&lt;/P&gt;
&lt;P&gt;Without aggregation, numbers are perfect but we will not get the proper PercentageShare respective for the account.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Sum(Aggr((&lt;BR /&gt;Sum({$&amp;lt;CalDt={"MaxDate))"}&amp;gt;} Value1)&lt;BR /&gt;-Sum({$&amp;lt;CalDt={"$(=date(YearStart(MaxDate)))"}&amp;gt;} Value2)&lt;BR /&gt;-Sum({$&amp;lt;CalDt={"&amp;gt;=$(=date(YearStart(MaxDate)))&amp;lt;=$(=date(MaxDate))"}&amp;gt;}Value3)&lt;BR /&gt;)*PercentageShare, Account))&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I would need your suggestion on how to ignore the date selection at Aggregation level or outer level but continue to use the inside as is.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 17:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Date-selection-in-Aggregation/m-p/2025109#M1222179</guid>
      <dc:creator>manojkulkarni</dc:creator>
      <dc:date>2023-01-12T17:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Date selection in Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Date-selection-in-Aggregation/m-p/2025805#M1222195</link>
      <description>&lt;P&gt;Hi, try adding a set analysis in the outer sum that includes all the data used in the aggr, like:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum({$&amp;lt;CalDt={"&amp;gt;=$(=date(YearStart(MaxDate)))&amp;lt;=$(=date(MaxDate))"}&amp;gt;} Aggr((&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sum({$&amp;lt;CalDt={"MaxDate))"}&amp;gt;} Value1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Sum({$&amp;lt;CalDt={"$(=date(YearStart(MaxDate)))"}&amp;gt;} Value2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Sum({$&amp;lt;CalDt={"&amp;gt;=$(=date(YearStart(MaxDate)))&amp;lt;=$(=date(MaxDate))"}&amp;gt;}Value3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)*PercentageShare, Account))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2023 10:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Date-selection-in-Aggregation/m-p/2025805#M1222195</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2023-01-14T10:48:45Z</dc:date>
    </item>
  </channel>
</rss>

