<?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: Accumulate Measure per month not working in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/796109#M4686</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp; If I want to see an accumulated view of two years in the same graphic, 2018 and 2019 for example, for I comparer one year with another, how can I do?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2019 18:33:36 GMT</pubDate>
    <dc:creator>VitorXavier</dc:creator>
    <dc:date>2019-09-18T18:33:36Z</dc:date>
    <item>
      <title>Accumulate Measure per month not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/794941#M4663</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make an accumulate vision using the following expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;= CALCULATE(SUM('Value.amount');&lt;/P&gt;&lt;P&gt;FILTER(ALL('calendar');&amp;nbsp;&lt;/P&gt;&lt;P&gt;'calendar'[date] &amp;lt;= MAX('calendar'[date])))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it is not accumulating on the graphic vision:&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The black line is my target that is called "Meta" and is like this in the table:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do I have to make something else to get my data accumulated?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 20:37:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/794941#M4663</guid>
      <dc:creator>VitorXavier</dc:creator>
      <dc:date>2019-09-17T20:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Measure per month not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/795052#M4666</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="171824" data-lia-user-login="VitorXavier" class="lia-mention lia-mention-user"&gt;VitorXavier&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you using Month from the calendar table in the x-axis of the visual?&lt;/P&gt;
&lt;P&gt;Can you share the pbix? or a simplified version that reproduces the problem?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 23:24:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/795052#M4666</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2019-09-17T23:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Measure per month not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/795849#M4676</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I am using Month from calendar table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to share with you a simplified version, but I didn't find a way to insert the pbix attachment. How can I share with you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 13:59:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/795849#M4676</guid>
      <dc:creator>VitorXavier</dc:creator>
      <dc:date>2019-09-18T13:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Measure per month not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/795885#M4677</link>
      <description>&lt;P&gt;You have to share the URL to the file hosted elsewhere: Dropbox, Onedrive... or just upload the file to a site like &lt;A href="http://www.tinyupload.com" target="_self"&gt;tinyupload.com&lt;/A&gt; (no sign-up required).&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 14:25:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/795885#M4677</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2019-09-18T14:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Measure per month not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/795936#M4681</link>
      <description>&lt;P&gt;I uploaded at TinyUpload.com follow the URL:&amp;nbsp;&lt;A href="http://s000.tinyupload.com/index.php?file_id=06151779987823636435" target="_blank"&gt;http://s000.tinyupload.com/?file_id=06151779987823636435&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 15:08:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/795936#M4681</guid>
      <dc:creator>VitorXavier</dc:creator>
      <dc:date>2019-09-18T15:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Measure per month not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/796001#M4684</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="171824" data-lia-user-login="VitorXavier" class="lia-mention lia-mention-user"&gt;VitorXavier&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your measures are working fine. The only issue is that you are using the month name only in the rows of the table visual and then the MAX(Table1[Datas]) if the last day of that month in &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;2020&lt;/STRONG&gt;&lt;FONT color="#000000"&gt; (which is the max in the calendar table). Since all your values are in 2019 in both fact tables, you get the whole thing. SO you need to add the year to the filter context. If you place a slicer selecting year 2019 this problem is solved.&amp;nbsp;See it all at work in the attached file.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider giving kudos if posts are helpful.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&amp;nbsp;&lt;IMG src="https://community.fabric.microsoft.com/html/badge_icons/SU18_powerbi_badge.png" border="0" alt="Datanaut" width="64" height="64" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 16:43:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/796001#M4684</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2019-09-18T16:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Measure per month not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/796098#M4685</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp;, your explanation worked!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 18:14:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/796098#M4685</guid>
      <dc:creator>VitorXavier</dc:creator>
      <dc:date>2019-09-18T18:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Measure per month not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/796109#M4686</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp; If I want to see an accumulated view of two years in the same graphic, 2018 and 2019 for example, for I comparer one year with another, how can I do?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 18:33:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/796109#M4686</guid>
      <dc:creator>VitorXavier</dc:creator>
      <dc:date>2019-09-18T18:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Measure per month not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/796163#M4688</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="171824" data-lia-user-login="VitorXavier" class="lia-mention lia-mention-user"&gt;VitorXavier&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You mean you want to see one line per year in the same chart? With what you have, the quickest would be to place Calendar[Year] in the legend of the chart, so that you have them separated by year and modify the measure a bit so that it only accumulates from the beginning of that year. If you want it to accumulate from the beginning of time, just remove the year condition in FILTER().See it all at work in the attached file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Meta Acumulada V2 = 
 0 + CALCULATE (
        SUM ( 'Metas UPSELL AGO-DEZ'[Meta] );
        FILTER (
            ALL ( 'Calendário' );
            'Calendário'[Datas] &amp;lt;= MAX ( 'Calendário'[Datas] )
                &amp;amp;&amp;amp; YEAR ( 'Calendário'[Datas] ) = YEAR ( MAX ( 'Calendário'[Datas] ) )
        )
    )&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider giving kudos if posts are helpful.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&amp;nbsp;&lt;IMG src="https://community.fabric.microsoft.com/html/badge_icons/SU18_powerbi_badge.png" border="0" alt="Datanaut" width="64" height="64" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 19:29:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/796163#M4688</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2019-09-18T19:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Measure per month not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/796197#M4693</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data of the years are separated in different tables and the expression won't work in this case. I tried to put the calendar[year] in the legend but didn't work.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 19:52:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Accumulate-Measure-per-month-not-working/m-p/796197#M4693</guid>
      <dc:creator>VitorXavier</dc:creator>
      <dc:date>2019-09-18T19:52:17Z</dc:date>
    </item>
  </channel>
</rss>

