<?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: Target date in current month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Target-date-in-current-month/m-p/929428#M9506</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if have understood you query correctly but please use below DAX if you are looking to Count the rows in target date for today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NewColumn =
CALCULATE ( COUNT ( vwtest[TargetDate] ), DimDate[Date] = TODAY () )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav Raj Singh&lt;/P&gt;&lt;P&gt;LinkedIN :&amp;nbsp;&lt;A title="" href="https://www.linkedin.com/in/gauravrajsingh/" target="_blank" rel="noopener nofollow noopener noreferrer noopener noreferrer"&gt;https://www.linkedin.com/in/gauravrajsingh/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2020 05:02:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-12T05:02:53Z</dc:date>
    <item>
      <title>Target date in current month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Target-date-in-current-month/m-p/928780#M9486</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to obtain a count for target dates that are in current month?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have below but the target date displays blank in my matrix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Target date in month = CALCULATE(SUM(vwtest[TargetDate]), FILTER( ALL(DimDate),DimDate[Date] = DATE (YEAR ( TODAY ()), MONTH (TODAY () ) , 1 )))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Liam&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Feb 2020 15:56:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Target-date-in-current-month/m-p/928780#M9486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-11T15:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Target date in current month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Target-date-in-current-month/m-p/929428#M9506</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if have understood you query correctly but please use below DAX if you are looking to Count the rows in target date for today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NewColumn =
CALCULATE ( COUNT ( vwtest[TargetDate] ), DimDate[Date] = TODAY () )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav Raj Singh&lt;/P&gt;&lt;P&gt;LinkedIN :&amp;nbsp;&lt;A title="" href="https://www.linkedin.com/in/gauravrajsingh/" target="_blank" rel="noopener nofollow noopener noreferrer noopener noreferrer"&gt;https://www.linkedin.com/in/gauravrajsingh/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 05:02:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Target-date-in-current-month/m-p/929428#M9506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-12T05:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Target date in current month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Target-date-in-current-month/m-p/929946#M9513</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If thats target date today, what would target date within current month be, E.G. in February?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Liam&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 10:17:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Target-date-in-current-month/m-p/929946#M9513</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-12T10:17:51Z</dc:date>
    </item>
  </channel>
</rss>

