<?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 Sum aggregation up to the date in period in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-aggregation-up-to-the-date-in-period/m-p/1863132#M71224</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have situation when loading Items transaction list and representing data in Pivot table, were columns meaning week dimension (From master calendar) and I need to calculate total sums per Item were transaction date "&amp;lt;" last date of current week.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to use sum formula, to calculate all transactions out of the selected weeks in dimensions?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was traying this:&amp;nbsp;Sum (if(TransDate&amp;lt;(Max(TransDate)),QTY))&amp;nbsp; but do not works. In my meaning Max(TransDate) means last transaction date in current week &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please help&lt;/P&gt;</description>
    <pubDate>Wed, 24 Nov 2021 14:02:01 GMT</pubDate>
    <dc:creator>irmantas</dc:creator>
    <dc:date>2021-11-24T14:02:01Z</dc:date>
    <item>
      <title>Sum aggregation up to the date in period</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-aggregation-up-to-the-date-in-period/m-p/1863132#M71224</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have situation when loading Items transaction list and representing data in Pivot table, were columns meaning week dimension (From master calendar) and I need to calculate total sums per Item were transaction date "&amp;lt;" last date of current week.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to use sum formula, to calculate all transactions out of the selected weeks in dimensions?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was traying this:&amp;nbsp;Sum (if(TransDate&amp;lt;(Max(TransDate)),QTY))&amp;nbsp; but do not works. In my meaning Max(TransDate) means last transaction date in current week &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please help&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 14:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-aggregation-up-to-the-date-in-period/m-p/1863132#M71224</guid>
      <dc:creator>irmantas</dc:creator>
      <dc:date>2021-11-24T14:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sum aggregation up to the date in period</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-aggregation-up-to-the-date-in-period/m-p/1863292#M71234</link>
      <description>&lt;P&gt;maybe helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/NestedAggregations/nested-aggregations.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/NestedAggregations/nested-aggregations.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/aggr.htm#:~:text=the%20Aggr()%20function%20can%20be%20compared%20to%20creating%20a%20temporary%20staged%20result%20set%20(a%20virtual%20table)%2C%20over%20which%20another%20aggregation%20can%20be%20made" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/aggr.htm#:~:text=the%20Aggr()%20function%20can%20be%20compared%20to%20creating%20a%20temporary%20staged%20result%20set%20(a%20virtual%20table)%2C%20over%20which%20another%20aggregation%20can%20be%20made&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 19:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-aggregation-up-to-the-date-in-period/m-p/1863292#M71234</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2021-11-24T19:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sum aggregation up to the date in period</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-aggregation-up-to-the-date-in-period/m-p/1863657#M71282</link>
      <description>&lt;P&gt;I will try explain&amp;nbsp;&lt;SPAN&gt;graphically &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have simple&amp;nbsp;data:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE width="228"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="105.922px"&gt;TransDate&lt;/TD&gt;
&lt;TD width="59.5156px"&gt;ItemId&lt;/TD&gt;
&lt;TD width="61.5625px"&gt;QTY&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="105.922px"&gt;2021-11-04&lt;/TD&gt;
&lt;TD width="59.5156px"&gt;10001&lt;/TD&gt;
&lt;TD width="61.5625px"&gt;56&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="105.922px"&gt;2021-11-05&lt;/TD&gt;
&lt;TD width="59.5156px"&gt;10001&lt;/TD&gt;
&lt;TD width="61.5625px"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="105.922px"&gt;2021-11-09&lt;/TD&gt;
&lt;TD width="59.5156px"&gt;10001&lt;/TD&gt;
&lt;TD width="61.5625px"&gt;13&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="105.922px"&gt;2021-11-10&lt;/TD&gt;
&lt;TD width="59.5156px"&gt;10001&lt;/TD&gt;
&lt;TD width="61.5625px"&gt;25&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="105.922px"&gt;2021-11-12&lt;/TD&gt;
&lt;TD width="59.5156px"&gt;10001&lt;/TD&gt;
&lt;TD width="61.5625px"&gt;45&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="105.922px"&gt;2021-11-16&lt;/TD&gt;
&lt;TD width="59.5156px"&gt;10001&lt;/TD&gt;
&lt;TD width="61.5625px"&gt;5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="105.922px"&gt;2021-11-19&lt;/TD&gt;
&lt;TD width="59.5156px"&gt;10001&lt;/TD&gt;
&lt;TD width="61.5625px"&gt;33&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="105.922px"&gt;2021-11-23&lt;/TD&gt;
&lt;TD width="59.5156px"&gt;10001&lt;/TD&gt;
&lt;TD width="61.5625px"&gt;13&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="105.922px"&gt;2021-11-25&lt;/TD&gt;
&lt;TD width="59.5156px"&gt;10001&lt;/TD&gt;
&lt;TD width="61.5625px"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need make report - pivot table&amp;nbsp; per Items and weeks:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 300pt;" border="0" width="300pt" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD colspan="5" width="399px" height="20" class="xl67" style="height: 15.0pt; width: 240pt;"&gt;Pivot table&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="67.5px" height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;ItemId&lt;/TD&gt;
&lt;TD width="90.6719px" class="xl65" style="border-top: none; border-left: none;"&gt;Week 44&lt;/TD&gt;
&lt;TD width="84.625px" class="xl65" style="border-top: none; border-left: none;"&gt;Week 45&lt;/TD&gt;
&lt;TD width="78.5781px" class="xl65" style="border-top: none; border-left: none;"&gt;Week 46&lt;/TD&gt;
&lt;TD width="77.625px" class="xl65" style="border-top: none; border-left: none;"&gt;Week 47&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="67.5px" height="20" class="xl66" style="height: 15.0pt; border-top: none;"&gt;10001&lt;/TD&gt;
&lt;TD width="90.6719px" class="xl68" style="border-top: none; border-left: none;"&gt;76&lt;/TD&gt;
&lt;TD width="84.625px" class="xl68" style="border-top: none; border-left: none;"&gt;159&lt;/TD&gt;
&lt;TD width="78.5781px" class="xl68" style="border-top: none; border-left: none;"&gt;197&lt;/TD&gt;
&lt;TD width="77.625px" class="xl68" style="border-top: none; border-left: none;"&gt;230&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sum must accumulate all transactions per ItemId, and show total situation an current week.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 14:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-aggregation-up-to-the-date-in-period/m-p/1863657#M71282</guid>
      <dc:creator>irmantas</dc:creator>
      <dc:date>2021-11-25T14:22:09Z</dc:date>
    </item>
  </channel>
</rss>

