<?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: DAX Calculating Day and Month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculating-Day-and-Month/m-p/2420962#M64128</link>
    <description>&lt;P&gt;Make sure that you have a Year Month column on your date table then use&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum by Month = 
var currentMonth = SELECTEDVALUE( 'Date'[Year Month])
return CALCULATE( [Base measure], REMOVEFILTERS('Date'), 'Date'[Year Month] = currentMonth )&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 28 Mar 2022 09:03:22 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2022-03-28T09:03:22Z</dc:date>
    <item>
      <title>DAX Calculating Day and Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculating-Day-and-Month/m-p/2420882#M64123</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i have to sum days along with month like this&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;day,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sumByDay,&amp;nbsp; &amp;nbsp;SumByMonth&lt;BR /&gt;01/01/2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 25&lt;BR /&gt;02/01/2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 25&lt;BR /&gt;03/01/2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3 ,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 25&lt;BR /&gt;01/02/2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9 ,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;11&lt;BR /&gt;02/02/2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 ,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;11&lt;/P&gt;&lt;P&gt;My problem is the filter context&lt;BR /&gt;when i use remove all&lt;BR /&gt;its give me all dates but i need only for that month&lt;BR /&gt;how can i achive that?&lt;/P&gt;&lt;P&gt;Thanks alot&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 08:41:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculating-Day-and-Month/m-p/2420882#M64123</guid>
      <dc:creator>Urielpc</dc:creator>
      <dc:date>2022-03-28T08:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Calculating Day and Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculating-Day-and-Month/m-p/2420962#M64128</link>
      <description>&lt;P&gt;Make sure that you have a Year Month column on your date table then use&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum by Month = 
var currentMonth = SELECTEDVALUE( 'Date'[Year Month])
return CALCULATE( [Base measure], REMOVEFILTERS('Date'), 'Date'[Year Month] = currentMonth )&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 28 Mar 2022 09:03:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculating-Day-and-Month/m-p/2420962#M64128</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-03-28T09:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Calculating Day and Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculating-Day-and-Month/m-p/2421158#M64147</link>
      <description>&lt;P&gt;A seemly simple solution, but the mechanism under the hood is complex enough.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 10:06:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculating-Day-and-Month/m-p/2421158#M64147</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2022-03-28T10:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Calculating Day and Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculating-Day-and-Month/m-p/2428279#M64572</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="344056" data-lia-user-login="Urielpc" class="lia-mention lia-mention-user"&gt;Urielpc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),YEAR([Day])=YEAR(MAX('Table'[Day])) &amp;amp;&amp;amp; MONTH([Day])=MONTH(MAX('Table'[Day]))))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Eyelyn Qin&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 02:12:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculating-Day-and-Month/m-p/2428279#M64572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-31T02:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Calculating Day and Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculating-Day-and-Month/m-p/2433735#M64899</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;CNENFENL&lt;/P&gt;&lt;P&gt;Looks good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2022 13:30:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculating-Day-and-Month/m-p/2433735#M64899</guid>
      <dc:creator>Urielpc</dc:creator>
      <dc:date>2022-04-03T13:30:46Z</dc:date>
    </item>
  </channel>
</rss>

