<?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 Cumulative Sum BY CLIENT and without date or index column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-BY-CLIENT-and-without-date-or-index-column/m-p/3890185#M151718</link>
    <description>&lt;P&gt;Hello, dear comunity:&lt;/P&gt;&lt;P&gt;I'm here cause need help with doing a cumulative sum of sales wich I calculated it with SUM(), need to be representated on a pivot table in excel or matrix in Power BI with DAX. If I do a sum of sales and bring customername to labels I have this result, and I need a solution to receive the orange column's behavior. the sales must be ordered by "Total sales in period" value.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the sample data in this url to practice:&amp;nbsp;&lt;A href="https://www.kaggle.com/datasets/kyanyoga/sample-sales-data/data" target="_blank"&gt;Sample Sales Data (kaggle.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for my bad grammar in english, I'm still learning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2024 22:40:09 GMT</pubDate>
    <dc:creator>TRIXTERBINOOB</dc:creator>
    <dc:date>2024-05-03T22:40:09Z</dc:date>
    <item>
      <title>Cumulative Sum BY CLIENT and without date or index column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-BY-CLIENT-and-without-date-or-index-column/m-p/3890185#M151718</link>
      <description>&lt;P&gt;Hello, dear comunity:&lt;/P&gt;&lt;P&gt;I'm here cause need help with doing a cumulative sum of sales wich I calculated it with SUM(), need to be representated on a pivot table in excel or matrix in Power BI with DAX. If I do a sum of sales and bring customername to labels I have this result, and I need a solution to receive the orange column's behavior. the sales must be ordered by "Total sales in period" value.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the sample data in this url to practice:&amp;nbsp;&lt;A href="https://www.kaggle.com/datasets/kyanyoga/sample-sales-data/data" target="_blank"&gt;Sample Sales Data (kaggle.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for my bad grammar in english, I'm still learning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 22:40:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-BY-CLIENT-and-without-date-or-index-column/m-p/3890185#M151718</guid>
      <dc:creator>TRIXTERBINOOB</dc:creator>
      <dc:date>2024-05-03T22:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum BY CLIENT and without date or index column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-BY-CLIENT-and-without-date-or-index-column/m-p/3890390#M151730</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="736848" data-lia-user-login="TRIXTERBINOOB" class="lia-mention lia-mention-user"&gt;TRIXTERBINOOB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can achive your required output in many different ways and the following is an example.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First create a ranking of sales by customers.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then, create a cumulative total in the order of customer sales ranking by value.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I attach an example pbix file below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2024 06:03:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-BY-CLIENT-and-without-date-or-index-column/m-p/3890390#M151730</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2024-05-04T06:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum BY CLIENT and without date or index column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-BY-CLIENT-and-without-date-or-index-column/m-p/3890600#M151738</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="736848" data-lia-user-login="TRIXTERBINOOB" class="lia-mention lia-mention-user"&gt;TRIXTERBINOOB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = 
CALCULATE (
    [Sales],
    WINDOW ( 
        1, ABS, 0, REL, 
        ALL ( 'Table'[Etiquetas de fila] ),
        ORDERBY ( [Sales], DESC )
    )
)&lt;/LI-CODE&gt;&lt;P&gt;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure 2 = 
VAR CustomerSales = 
    ADDCOLUMNS (
        ALLSELECTED ( 'Table'[Etiquetas de fila] ),
        "@Sales", [Sales] 
    )
VAR Result = 
    SUMX (
        WINDOW ( 
            1, ABS, 0, REL, 
            CustomerSales,
            ORDERBY ( [@Sales], DESC )
        ),
        [@Sales]
    )
RETURN 
    Result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2024 10:24:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-BY-CLIENT-and-without-date-or-index-column/m-p/3890600#M151738</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2024-05-04T10:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum BY CLIENT and without date or index column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-BY-CLIENT-and-without-date-or-index-column/m-p/3891823#M151748</link>
      <description>&lt;P&gt;It actually worked!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't knew about WINDOW function I investigated documentation and learned a lot from you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank u very much!&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2024 03:49:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-BY-CLIENT-and-without-date-or-index-column/m-p/3891823#M151748</guid>
      <dc:creator>TRIXTERBINOOB</dc:creator>
      <dc:date>2024-05-05T03:49:34Z</dc:date>
    </item>
  </channel>
</rss>

