<?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: Revverse cumulative error in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Revverse-cumulative-error/m-p/3058324#M105587</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="496065" data-lia-user-login="Samarth-Borade" class="lia-mention lia-mention-user"&gt;Samarth-Borade&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please refer to attached sample file with the proposed solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;RevCum_Revenue = 
VAR CurrentRevenue = 
    SUM ( 'Table'[Revenu] )
VAR T1 = 
    SELECTCOLUMNS ( 
        ALLSELECTED ( 'Table'[Customer Cod] ),
        "@Revenue", CALCULATE ( SUM ( 'Table'[Revenu] ) )
    )
VAR T2 = 
    FILTER ( T1, [@Revenue] &amp;gt;= CurrentRevenue )
RETURN
    SUMX ( T2, [@Revenue] )&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 02 Feb 2023 15:56:18 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-02-02T15:56:18Z</dc:date>
    <item>
      <title>Revverse cumulative error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Revverse-cumulative-error/m-p/3057464#M105523</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RevCum_Revenue123 = &lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;RunningTotal&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;CALCULAT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IV&gt;when i remove customer code, it will only show the entire sum.I want to show the reverse cumulative ,&lt;/DIV&gt;&lt;DIV&gt;i.e in descending&amp;nbsp; order: 9031 then 9031+8984 then 9031+8984+4792.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Feb 2023 09:39:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Revverse-cumulative-error/m-p/3057464#M105523</guid>
      <dc:creator>Samarth-Borade</dc:creator>
      <dc:date>2023-02-02T09:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Revverse cumulative error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Revverse-cumulative-error/m-p/3057641#M105531</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="496065" data-lia-user-login="Samarth-Borade" class="lia-mention lia-mention-user"&gt;Samarth-Borade&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;What is the result that you're looking for?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 11:02:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Revverse-cumulative-error/m-p/3057641#M105531</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-02T11:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Revverse cumulative error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Revverse-cumulative-error/m-p/3057647#M105533</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 11:05:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Revverse-cumulative-error/m-p/3057647#M105533</guid>
      <dc:creator>Samarth-Borade</dc:creator>
      <dc:date>2023-02-02T11:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Revverse cumulative error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Revverse-cumulative-error/m-p/3057666#M105535</link>
      <description>&lt;P&gt;Any leads?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 11:25:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Revverse-cumulative-error/m-p/3057666#M105535</guid>
      <dc:creator>Samarth-Borade</dc:creator>
      <dc:date>2023-02-02T11:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Revverse cumulative error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Revverse-cumulative-error/m-p/3058324#M105587</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="496065" data-lia-user-login="Samarth-Borade" class="lia-mention lia-mention-user"&gt;Samarth-Borade&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please refer to attached sample file with the proposed solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;RevCum_Revenue = 
VAR CurrentRevenue = 
    SUM ( 'Table'[Revenu] )
VAR T1 = 
    SELECTCOLUMNS ( 
        ALLSELECTED ( 'Table'[Customer Cod] ),
        "@Revenue", CALCULATE ( SUM ( 'Table'[Revenu] ) )
    )
VAR T2 = 
    FILTER ( T1, [@Revenue] &amp;gt;= CurrentRevenue )
RETURN
    SUMX ( T2, [@Revenue] )&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 02 Feb 2023 15:56:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Revverse-cumulative-error/m-p/3058324#M105587</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-02T15:56:18Z</dc:date>
    </item>
  </channel>
</rss>

