<?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: How to calculate running total on a pivoted column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2372838#M60971</link>
    <description>&lt;P&gt;Can you please try replacing [PL1] with SUM (&amp;nbsp;&lt;SPAN&gt;Invoice_Data[PL1] )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the rest of the code remains the same&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2022 14:30:16 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-03-03T14:30:16Z</dc:date>
    <item>
      <title>How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2370952#M60841</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Hi everyone so this is the table I'm working with. I have pivoted the data on all the PLs. The PL1 column is basiclly a sum column of PL1.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;To calculate the ranking column "PL1 Rank" I used this formula:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PL1 Rank = RANKX(ALLSELECTED(Supplier[Supplier_Name]),CALCULATE(SUM(Invoice_Data[PL1])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times"&gt;Obviously the column "PL1 Cumu." is not working right now. In this column I want to display the running total based on the "PL1" column. &lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times"&gt;Thanks! &lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Mar 2022 19:29:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2370952#M60841</guid>
      <dc:creator>ellen_s</dc:creator>
      <dc:date>2022-03-02T19:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2370978#M60842</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="363514" data-lia-user-login="ellen_s" class="lia-mention lia-mention-user"&gt;ellen_s&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can try the following Measure&lt;/P&gt;&lt;P&gt;PL1 Cumu. =&lt;BR /&gt;VAR CurrentRank =&lt;/P&gt;&lt;P&gt;MIN ( y&lt;EM&gt;ourtablename&lt;/EM&gt;[PL1 Rank] )&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;SUMX (&lt;/P&gt;&lt;P&gt;ALL ( y&lt;EM&gt;ourtablename&lt;/EM&gt;[Supplier Name] ),&lt;/P&gt;&lt;P&gt;CALCULATE (&lt;/P&gt;&lt;P&gt;SUM (&amp;nbsp;&lt;EM&gt;yourtablename&lt;/EM&gt;[PL1] ),&lt;/P&gt;&lt;P&gt;&lt;EM&gt;yourtablename&lt;/EM&gt;&lt;SPAN&gt;[PL1 Rank] &amp;gt;=&amp;nbsp;CurrentRank&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 19:47:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2370978#M60842</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-02T19:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371015#M60844</link>
      <description>&lt;P&gt;Hi I tried it just now and I'm getting this error: The MIN function only accepts a column reference as the argument number 1.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 20:04:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371015#M60844</guid>
      <dc:creator>ellen_s</dc:creator>
      <dc:date>2022-03-02T20:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371020#M60845</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="363514" data-lia-user-login="ellen_s" class="lia-mention lia-mention-user"&gt;ellen_s&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please share the code you have tried? I mean with the actual table name&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 20:09:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371020#M60845</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-02T20:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371030#M60846</link>
      <description>&lt;P&gt;my mistake I thought it was a colum &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not sure if it works but you may try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VAR CurrentRank =&amp;nbsp;&lt;SPAN&gt;[PL1 Rank]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;SUMX (&lt;/P&gt;&lt;P&gt;ALL ( y&lt;EM&gt;ourtablename&lt;/EM&gt;[Supplier Name] ),&lt;/P&gt;&lt;P&gt;CALCULATE (&lt;/P&gt;&lt;P&gt;SUM (&amp;nbsp;&lt;EM&gt;yourtablename&lt;/EM&gt;[PL1] ),&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[PL1 Rank] &amp;gt;=&amp;nbsp;CurrentRank&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 20:17:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371030#M60846</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-02T20:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371038#M60847</link>
      <description>&lt;P&gt;PL1 Cumu.=&lt;BR /&gt;VAR CurrentRank =MIN ([PL1 Rank])RETURN&lt;/P&gt;&lt;P&gt;SUMX (&lt;/P&gt;&lt;P&gt;ALL ( Supplier[Supplier_Name] ),&lt;/P&gt;&lt;P&gt;CALCULATE (&lt;/P&gt;&lt;P&gt;SUM ( Invoice_Data[PL1] ),&lt;/P&gt;&lt;P&gt;[PL1 Rank] &amp;gt;= CurrentRank&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 20:20:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371038#M60847</guid>
      <dc:creator>ellen_s</dc:creator>
      <dc:date>2022-03-02T20:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371054#M60848</link>
      <description>&lt;P&gt;my mistake I thought it was a colum &lt;SPAN class="lia-unicode-emoji"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Not sure if it works but you may try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VAR CurrentRank =&amp;nbsp;&lt;SPAN&gt;[PL1 Rank]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;SUMX (&lt;/P&gt;&lt;P&gt;ALL ( y&lt;EM&gt;ourtablename&lt;/EM&gt;[Supplier Name] ),&lt;/P&gt;&lt;P&gt;CALCULATE (&lt;/P&gt;&lt;P&gt;SUM (&amp;nbsp;&lt;EM&gt;yourtablename&lt;/EM&gt;[PL1] ),&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[PL1 Rank] &amp;gt;=&amp;nbsp;CurrentRank&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 20:30:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371054#M60848</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-02T20:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371069#M60849</link>
      <description>&lt;P&gt;Thanks for that. Now the error is gone but now there is a new one: "A function 'CALCULATE' has been used in a True/False expression that is used as a table filter expression. This is not allowed." Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 20:42:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371069#M60849</guid>
      <dc:creator>ellen_s</dc:creator>
      <dc:date>2022-03-02T20:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371775#M60883</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="363514" data-lia-user-login="ellen_s" class="lia-mention lia-mention-user"&gt;ellen_s&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Applogies for yesterday's confusion. I was not on my computer at that time.&lt;BR /&gt;I found one solution which seems to be working. You need to be carefull if you have big data. However it is worth trying&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;PL1 Comu. = 
VAR CurrentRank = [PL1 Rank]
VAR T1 =
    SUMMARIZE ( 
        ALL ( Invoice_Data ), 
        Supplier[Supplier_Name],
        "Amont", [PL1]
    )
VAR T2 =
    ADDCOLUMNS (
        T1,
        "Rank", [PL1 Rank]
    )
VAR T3 =
    FILTER (
        T2,
        [Rank] &amp;lt;= CurrentRank
    )
RETURN
SUMX (
    T3,
    [Amont]
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;I tried the code on a small sales table (77,000) rows and it worked but little slow. Please try on yours and let me know. Thanks and have a great day!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 06:04:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2371775#M60883</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-03T06:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2372755#M60962</link>
      <description>&lt;P&gt;Thanks but I tried it and think it would only work if [PL1] is a measure which it is not. I'm getting "Column 'PL1' cannot be found or may not be used in this expression." I also tried Invoice_Data[PL1] but it did not work either. I tried to use the auto complete on powerbi, it is only suggesting formulas and measures. I tried sum(Invoice_Data[PL1]) but its outputting wrong numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I feel like this is making the table super slow and we want to sort the table by any column quickly so I dont know if this approach would work well for our application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and please let me know if you have any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ellen&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 13:54:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2372755#M60962</guid>
      <dc:creator>ellen_s</dc:creator>
      <dc:date>2022-03-03T13:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2372793#M60966</link>
      <description>&lt;P&gt;IF PL1 is a column does that mean you have only one value for each brand?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 14:09:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2372793#M60966</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-03T14:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2372838#M60971</link>
      <description>&lt;P&gt;Can you please try replacing [PL1] with SUM (&amp;nbsp;&lt;SPAN&gt;Invoice_Data[PL1] )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the rest of the code remains the same&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 14:30:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2372838#M60971</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-03T14:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2372857#M60974</link>
      <description>&lt;P&gt;As I said before I tried the sum and it output wrong values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PL1 is a column that I got from pivoting the table on invoice ID. There could be many rows for PL1 for each supplier, thats why I use the sum function in the table so it aggregates the table and tell me how many rows I have for PL1 (which represents how many invoices PL1 has for each supplier).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and hope that make sense,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ellen&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 14:35:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2372857#M60974</guid>
      <dc:creator>ellen_s</dc:creator>
      <dc:date>2022-03-03T14:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2372877#M60977</link>
      <description>&lt;P&gt;Ok the&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please try replacing [PL1] with COUNTROWS ( DISTINCT (&amp;nbsp;&lt;SPAN&gt;Invoice_Data[Invoice ID] ) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the rest of the code remains the same&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 14:42:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2372877#M60977</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-03T14:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2373472#M61009</link>
      <description>&lt;P&gt;I tried it and it didn't work it just output random values that dont make sense. I looked back on my previous comment and I think it wasn't very clear. So I pivoted based on plant number and each row is a seperate invoice number. Right now we are working with PL1 there are PL2, PL3, PL4 etc. sum of PL1 aggregated by supplier name gives me the number of invoices for each supplier. Hopefully that make sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 20:08:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2373472#M61009</guid>
      <dc:creator>ellen_s</dc:creator>
      <dc:date>2022-03-03T20:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2374246#M61063</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="363514" data-lia-user-login="ellen_s" class="lia-mention lia-mention-user"&gt;ellen_s&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;As per my undestanding of the problem I believe this should work&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;PL1 Comu. =
VAR CurrentRank = [PL1 Rank]
VAR T1 =
    SUMMARIZE ( ALL ( Invoice_Data ), Supplier[Supplier_Name] )
VAR T2 =
    ADDCOLUMNS (
        T1,
        "Count", CALCULATE ( SUM ( Invoice_Data[PL1] ) ),
        "Rank", [PL1 Rank]
    )
VAR T3 =
    FILTER ( T2, [Rank] &amp;lt;= CurrentRank )
RETURN
    SUMX ( T3, [Count] )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 06:37:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2374246#M61063</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-04T06:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2375077#M61120</link>
      <description>&lt;P&gt;Hi thank you that worked but everytime I want to sort any column in the table its taking more than a minute to update. Is there a way to make it faster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ellen&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 13:37:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2375077#M61120</guid>
      <dc:creator>ellen_s</dc:creator>
      <dc:date>2022-03-04T13:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2375084#M61122</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="363514" data-lia-user-login="ellen_s" class="lia-mention lia-mention-user"&gt;ellen_s&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;If the supplier ranking is not dependant on other selections (Date for eaxample) then it can be added as a new calculated column. This will make everything much more faster.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 13:44:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2375084#M61122</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-04T13:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2375090#M61123</link>
      <description>&lt;P&gt;I have a measure for ranking. The formula is:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PL1 Rank = RANKX(ALLSELECTED(Supplier[Supplier_Name]),CALCULATE(SUM(Invoice_data[PL1])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I don't think its dependent on anything else besides just PL1 value. Would this work in making the query faster?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Ellen&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Mar 2022 13:48:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2375090#M61123</guid>
      <dc:creator>ellen_s</dc:creator>
      <dc:date>2022-03-04T13:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate running total on a pivoted column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2376091#M61205</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="363514" data-lia-user-login="ellen_s" class="lia-mention lia-mention-user"&gt;ellen_s&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Yes. I believe it can but the result won't be dynamic as you may expect. For example If you select a date (or date period) or you slice by region or product category then the ranking won't change because&amp;nbsp;it has to be fixed based on a predefined conditions. In this case for example the ranking can be based on the total invoices value of each supplier (including all dates, all regions, all categories etc..). If your data does not include such attributes or you are just not interested to obtain such results then you may send me sample dummy or insensitive data to create a new calculated column in the 'Supplier' table that gives each supplier a ranking based on his total&amp;nbsp;invoices value. The running&amp;nbsp;total of the report would then be a simple and efficient task.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 03:56:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-running-total-on-a-pivoted-column/m-p/2376091#M61205</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-05T03:56:51Z</dc:date>
    </item>
  </channel>
</rss>

