<?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 aggregate series in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/aggregate-series/m-p/3332948#M124934</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to aggregate series, I am attaching a picture of my idea, does anyone have an existing solution?&lt;BR /&gt;Thanks for your help!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jul 2023 14:34:43 GMT</pubDate>
    <dc:creator>borniex</dc:creator>
    <dc:date>2023-07-16T14:34:43Z</dc:date>
    <item>
      <title>aggregate series</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/aggregate-series/m-p/3332948#M124934</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to aggregate series, I am attaching a picture of my idea, does anyone have an existing solution?&lt;BR /&gt;Thanks for your help!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2023 14:34:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/aggregate-series/m-p/3332948#M124934</guid>
      <dc:creator>borniex</dc:creator>
      <dc:date>2023-07-16T14:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: aggregate series</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/aggregate-series/m-p/3333192#M124956</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You will need to read about the windows function (&lt;A href="https://www.sqlbi.com/articles/introducing-window-functions-in-dax)" target="_blank"&gt;https://www.sqlbi.com/articles/introducing-window-functions-in-dax)&lt;/A&gt;. I have never used it, but I understand that it can deal with you scenario.&lt;BR /&gt;&lt;BR /&gt;Greg Oliveira&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/gregomelo/" target="_blank"&gt;https://www.linkedin.com/in/gregomelo/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2023 21:47:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/aggregate-series/m-p/3333192#M124956</guid>
      <dc:creator>gregoliveira</dc:creator>
      <dc:date>2023-07-16T21:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: aggregate series</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/aggregate-series/m-p/3337771#M125200</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="185738" data-lia-user-login="borniex" class="lia-mention lia-mention-user"&gt;borniex&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try the following methods&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Column:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;previous part = CALCULATE(MAX('Table'[part]),FILTER('Table',[id]=EARLIER('Table'[id])-1))
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;judgement = IF([part]=[previous part],1,0)//Determine if the part is the same as the previous id&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;First part = IF([judgement]=0,1,0)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Max ID = CALCULATE(Max('Table'[id]),FILTER('Table',[id]&amp;lt;=EARLIER('Table'[id])&amp;amp;&amp;amp;[First part]=1))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Sum value = CALCULATE(SUM('Table'[value]),ALLEXCEPT('Table','Table'[Max ID]))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="zh-CN"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;helps, then please consider&amp;nbsp;&lt;EM&gt;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 06:08:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/aggregate-series/m-p/3337771#M125200</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2023-07-19T06:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: aggregate series</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/aggregate-series/m-p/3345287#M125585</link>
      <description>&lt;P&gt;Thank you very much, I was interested in this solution! Elegant, I thought more complicated &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 16:19:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/aggregate-series/m-p/3345287#M125585</guid>
      <dc:creator>borniex</dc:creator>
      <dc:date>2023-07-23T16:19:14Z</dc:date>
    </item>
  </channel>
</rss>

