<?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: Accumulative function not working :( in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Accumulative-function-not-working/m-p/301687#M8873</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="46633" data-lia-user-login="MarkoTheWhite" class="lia-mention lia-mention-user"&gt;MarkoTheWhite&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;In you case, you may need a measure as below. See more in the attached pbix file.&lt;/P&gt;
&lt;PRE&gt;accumulative LDM =
SUMX (
    FILTER (
        ALLSELECTED ( yourTable ),
        yourTable[ship class] &amp;lt;= MAX ( yourTable[ship class] )
    ),
    yourTable[Shipment Loading Meters]
)
&lt;/PRE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2017 06:36:49 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-11-13T06:36:49Z</dc:date>
    <item>
      <title>Accumulative function not working :(</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Accumulative-function-not-working/m-p/300827#M8850</link>
      <description>&lt;P&gt;Dear ALL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am completly new to power BI, so please be patent with me.&lt;/P&gt;&lt;P&gt;I now that this topick was opened before and i had tried to use suggestions from previous posts, but with no success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my example:&lt;/P&gt;&lt;P&gt;I want to represent "line and stacked column chart" where columns would represent number of lines per LDM (loading meters) class and line should be cumulative value of LDM's from shipment class 1 to 10.&lt;/P&gt;&lt;P&gt;Meaning:&lt;/P&gt;&lt;P&gt;Class1 = sum of LDM in that class&lt;/P&gt;&lt;P&gt;Class2 = LDM from class 1 + LDM from class 2&lt;/P&gt;&lt;P&gt;etc..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is data set:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this is formula i am using:&lt;/P&gt;&lt;P&gt;accumulative LDM Column = CALCULATE(sum('Try me'[Shipment Loading Meters (LM)]); filter(ALL('Try me'[Ship Class]); 'Try me'[Ship Class]&amp;lt;=max('Try me'[Ship Class])))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, as you can see, i am doing something wrong here, since it is always displaying this chart:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions? Please explain me, what am i doing wrong here, since i dont understand these expressions at all.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 11:09:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Accumulative-function-not-working/m-p/300827#M8850</guid>
      <dc:creator>MarkoTheWhite</dc:creator>
      <dc:date>2017-11-10T11:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative function not working :(</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Accumulative-function-not-working/m-p/301687#M8873</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="46633" data-lia-user-login="MarkoTheWhite" class="lia-mention lia-mention-user"&gt;MarkoTheWhite&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;In you case, you may need a measure as below. See more in the attached pbix file.&lt;/P&gt;
&lt;PRE&gt;accumulative LDM =
SUMX (
    FILTER (
        ALLSELECTED ( yourTable ),
        yourTable[ship class] &amp;lt;= MAX ( yourTable[ship class] )
    ),
    yourTable[Shipment Loading Meters]
)
&lt;/PRE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 06:36:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Accumulative-function-not-working/m-p/301687#M8873</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-11-13T06:36:49Z</dc:date>
    </item>
  </channel>
</rss>

