<?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 CDS - Accumulation value from column in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-accumulation-value-from-column/m-p/12633489#M2013577</link>
    <description>&lt;P&gt;Hallo,&lt;/P&gt;
  &lt;P&gt;I have the current situation/problem and hope you could help me out.&lt;/P&gt;
  &lt;P&gt;Let's assume we have the following table:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2102615-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I would like to accumulate the 'Status' in order of the date and when the month change I would like to start with zero:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2102614-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Which kind of CDS syntax can I use to sum the status and considering the date in right order?&lt;/P&gt;
  &lt;P&gt;How can I translate this SQL syntax into CDS syntax:&lt;/P&gt;
  &lt;P&gt;SUM(Quantity) OVER (PARTITION BY AccountID ORDER BY ID)&lt;/P&gt;
  &lt;P&gt;Regards &lt;/P&gt;
  &lt;P&gt;Hassin&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2022 15:10:59 GMT</pubDate>
    <dc:creator>hassin</dc:creator>
    <dc:date>2022-10-10T15:10:59Z</dc:date>
    <item>
      <title>CDS - Accumulation value from column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cds-accumulation-value-from-column/m-p/12633489#M2013577</link>
      <description>&lt;P&gt;Hallo,&lt;/P&gt;
  &lt;P&gt;I have the current situation/problem and hope you could help me out.&lt;/P&gt;
  &lt;P&gt;Let's assume we have the following table:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2102615-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I would like to accumulate the 'Status' in order of the date and when the month change I would like to start with zero:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2102614-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Which kind of CDS syntax can I use to sum the status and considering the date in right order?&lt;/P&gt;
  &lt;P&gt;How can I translate this SQL syntax into CDS syntax:&lt;/P&gt;
  &lt;P&gt;SUM(Quantity) OVER (PARTITION BY AccountID ORDER BY ID)&lt;/P&gt;
  &lt;P&gt;Regards &lt;/P&gt;
  &lt;P&gt;Hassin&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 15:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cds-accumulation-value-from-column/m-p/12633489#M2013577</guid>
      <dc:creator>hassin</dc:creator>
      <dc:date>2022-10-10T15:10:59Z</dc:date>
    </item>
  </channel>
</rss>

