<?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 Calculate cumulative % in Table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3116741#M110392</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I have requirement. to calcualte cummalative % and to Show Total Liters in table chart. i tried using dax measure but it is not giving correct result. Please help&lt;BR /&gt;i need calculate % Running total - Example IT60 - it should give 18%&lt;BR /&gt;US 21 - 18%+13% = 31%&lt;BR /&gt;PE10 = 18%+13%+10%= 41% and so on&lt;BR /&gt;i have tried by using Quick Measure - Running total as below screenshot and it is not giving Proper result&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note - Total Liters is sorted as Descending order&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2023 15:08:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-07T15:08:00Z</dc:date>
    <item>
      <title>Calculate cumulative % in Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3116741#M110392</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have requirement. to calcualte cummalative % and to Show Total Liters in table chart. i tried using dax measure but it is not giving correct result. Please help&lt;BR /&gt;i need calculate % Running total - Example IT60 - it should give 18%&lt;BR /&gt;US 21 - 18%+13% = 31%&lt;BR /&gt;PE10 = 18%+13%+10%= 41% and so on&lt;BR /&gt;i have tried by using Quick Measure - Running total as below screenshot and it is not giving Proper result&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note - Total Liters is sorted as Descending order&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 15:08:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3116741#M110392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-07T15:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate cumulative % in Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3117248#M110420</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this. Change the table name which I used.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;running total % = &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;_currentlilter&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;maxx&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;table2&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;table2&lt;/SPAN&gt;&lt;SPAN&gt;[Total liters]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;_total&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;sumx&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt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mark my post as a solution if it was helpfull.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Mar 2023 19:48:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3117248#M110420</guid>
      <dc:creator>andhiii079845</dc:creator>
      <dc:date>2023-03-07T19:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate cumulative % in Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3118644#M110493</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="520150" data-lia-user-login="andhiii079845" class="lia-mention lia-mention-user"&gt;andhiii079845&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I have tried your solution in calculated column but it is giving result as 100% for all values. Please help on this&lt;/P&gt;&lt;P&gt;calculated column - r&lt;SPAN&gt;unning total % colum =&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;_currentlilter&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;maxx&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;tbl_cses_salesordertransit_rpt&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;tbl_cses_salesordertransit_rpt&lt;/SPAN&gt;&lt;SPAN&gt;[Total Liters FG]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;_total&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;sumx&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;tbl_cses_salesordertransit_rpt&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;tbl_cses_salesordertransit_rpt&lt;/SPAN&gt;&lt;SPAN&gt;[Total Liters FG]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;_currenttotal&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;sumx&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;tbl_cses_salesordertransit_rpt&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;tbl_cses_salesordertransit_rpt&lt;/SPAN&gt;&lt;SPAN&gt;[Total Liters FG]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;_currentlilter&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;tbl_cses_salesordertransit_rpt&lt;/SPAN&gt;&lt;SPAN&gt;[Total Liters FG]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt; &lt;SPAN&gt;_currenttotal&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;_total&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Mar 2023 11:19:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3118644#M110493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-08T11:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate cumulative % in Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3118662#M110497</link>
      <description>&lt;P&gt;From which table is "receiving plant"? I think this is the problem. please share the underlaying datamodel and tables.&lt;/P&gt;&lt;P&gt;You also say now "Total litre measure". You do not mentioned it before that is is a measure. Please share the measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 11:29:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3118662#M110497</guid>
      <dc:creator>andhiii079845</dc:creator>
      <dc:date>2023-03-08T11:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate cumulative % in Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3118675#M110499</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="520150" data-lia-user-login="andhiii079845" class="lia-mention lia-mention-user"&gt;andhiii079845&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Total Liters and % are measures, and need to calculate Cummalative % (To show Total Liters as highest to lowest in table chart)&lt;BR /&gt;&lt;BR /&gt;Total liters =&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;sumx&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;tbl_cses_salesordertransit_rpt, tbl_cses_salesordertransit_rpt[Liters/Case] * tbl_cses_salesordertransit_rpt[OrderQuantity])&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;% =DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;tbl_cses_salesordertransit_rpt&lt;/SPAN&gt;&lt;SPAN&gt;[Total Liters FG]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;[Sum of Total Litres FG]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 11:36:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3118675#M110499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-08T11:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate cumulative % in Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3119224#M110554</link>
      <description>&lt;P&gt;Can you please give a full example of all involved tables, the relation and with some data examples. It is for me not clear in the moment where the problem is.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 15:24:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-cumulative-in-Table/m-p/3119224#M110554</guid>
      <dc:creator>andhiii079845</dc:creator>
      <dc:date>2023-03-08T15:24:04Z</dc:date>
    </item>
  </channel>
</rss>

