<?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: Filter current day from MTD calculations in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-current-day-from-MTD-calculations/m-p/1085004#M15481</link>
    <description>&lt;P&gt;How about continue the pattern you started for the Day level too:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MTD Revenue= CALCULATE(SUM('Sales'[Sales Amount]), 'Date'[Month]=MONTH(TODAY()), 'Date'[Year]=YEAR(TODAY()), 'Date'[Day] &amp;lt;&amp;gt; DAY(TODAY())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this solution works for you, please mark it as the solution.&amp;nbsp; Kudos are appreciated too.&amp;nbsp; Please let me know if not.&lt;BR /&gt;Regards,&lt;BR /&gt;Pat&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2020 01:04:38 GMT</pubDate>
    <dc:creator>mahoneypat</dc:creator>
    <dc:date>2020-05-12T01:04:38Z</dc:date>
    <item>
      <title>Filter current day from MTD calculations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-current-day-from-MTD-calculations/m-p/1084881#M15470</link>
      <description>&lt;P&gt;I have a working measurethat shows the current MTD revenue that looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MTD Revenue= CALCULATE(SUM('Sales'[Sales Amount]), 'Date'[Month]=MONTH(TODAY()), 'Date'[Year]=YEAR(TODAY()))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;How do I tweak this filter to exclude the current days revenue?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 May 2020 22:02:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-current-day-from-MTD-calculations/m-p/1084881#M15470</guid>
      <dc:creator>msimmonsmcse</dc:creator>
      <dc:date>2020-05-11T22:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter current day from MTD calculations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-current-day-from-MTD-calculations/m-p/1085004#M15481</link>
      <description>&lt;P&gt;How about continue the pattern you started for the Day level too:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MTD Revenue= CALCULATE(SUM('Sales'[Sales Amount]), 'Date'[Month]=MONTH(TODAY()), 'Date'[Year]=YEAR(TODAY()), 'Date'[Day] &amp;lt;&amp;gt; DAY(TODAY())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this solution works for you, please mark it as the solution.&amp;nbsp; Kudos are appreciated too.&amp;nbsp; Please let me know if not.&lt;BR /&gt;Regards,&lt;BR /&gt;Pat&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 01:04:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-current-day-from-MTD-calculations/m-p/1085004#M15481</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-05-12T01:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Filter current day from MTD calculations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-current-day-from-MTD-calculations/m-p/1086436#M15536</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="224433" data-lia-user-login="msimmonsmcse" class="lia-mention lia-mention-user"&gt;msimmonsmcse&lt;/a&gt; , Try with time intelligence and date table &lt;/P&gt;
&lt;P&gt;MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]), 'Date'[Date] &amp;lt;Today())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer : &lt;BR /&gt;&lt;A href="https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions" target="_blank"&gt;https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions&lt;/A&gt; &lt;BR /&gt;&lt;A href="https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi" target="_blank"&gt;https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 16:58:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-current-day-from-MTD-calculations/m-p/1086436#M15536</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-05-12T16:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filter current day from MTD calculations</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-current-day-from-MTD-calculations/m-p/1086473#M15540</link>
      <description>&lt;P&gt;Perfect, thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 17:14:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-current-day-from-MTD-calculations/m-p/1086473#M15540</guid>
      <dc:creator>msimmonsmcse</dc:creator>
      <dc:date>2020-05-12T17:14:56Z</dc:date>
    </item>
  </channel>
</rss>

