<?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: Sum of Working Days till end of this month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Working-Days-till-end-of-this-month/m-p/4410934#M175172</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="394849" data-lia-user-login="y5famfnatudu" class="lia-mention lia-mention-user"&gt;y5famfnatudu&lt;/a&gt;&amp;nbsp;Try using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;Working Days = &lt;BR /&gt;CALCULATE (&lt;BR /&gt;COUNTROWS ( FILTER ( 'Date', 'Date'[Date] &amp;lt;= TODAY () ) ),&lt;BR /&gt;'Date'[isWD] = "1"&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;Working Days ToBe = &lt;BR /&gt;CALCULATE (&lt;BR /&gt;COUNTROWS ( FILTER ( 'Date', 'Date'[Date] &amp;gt; TODAY() &amp;amp;&amp;amp; 'Date'[Date] &amp;lt;= EOMONTH(TODAY(), 0) ) ),&lt;BR /&gt;'Date'[isWD] = "1",&lt;BR /&gt;REMOVEFILTERS ( 'Date'[isPastDay] )&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2025 10:58:10 GMT</pubDate>
    <dc:creator>bhanu_gautam</dc:creator>
    <dc:date>2025-02-14T10:58:10Z</dc:date>
    <item>
      <title>Sum of Working Days till end of this month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Working-Days-till-end-of-this-month/m-p/4410907#M175168</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some how I can't get the sum of working days till the end of the current month, because I have a filter in the report that is called "isPastDay", how can I overcome this issue?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The measures are as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Working Days = 
CALCULATE (
    COUNTROWS ( FILTER ( 'Date', 'Date'[Date] &amp;lt;= TODAY () ) ),
    'Date'[isWD] = "1"
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Working Days ToBe = 
CALCULATE (
    COUNTROWS ( 'Date' ),
    'Date'[isWD] = "1",
    REMOVEFILTERS ( 'Date'[isPast] )
)&lt;/LI-CODE&gt;&lt;P&gt;What I'm expecting to see, is 41 instead of 250&lt;BR /&gt;&lt;BR /&gt;Your help is so much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 10:42:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Working-Days-till-end-of-this-month/m-p/4410907#M175168</guid>
      <dc:creator>y5famfnatudu</dc:creator>
      <dc:date>2025-02-14T10:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Working Days till end of this month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Working-Days-till-end-of-this-month/m-p/4410934#M175172</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="394849" data-lia-user-login="y5famfnatudu" class="lia-mention lia-mention-user"&gt;y5famfnatudu&lt;/a&gt;&amp;nbsp;Try using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;Working Days = &lt;BR /&gt;CALCULATE (&lt;BR /&gt;COUNTROWS ( FILTER ( 'Date', 'Date'[Date] &amp;lt;= TODAY () ) ),&lt;BR /&gt;'Date'[isWD] = "1"&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;Working Days ToBe = &lt;BR /&gt;CALCULATE (&lt;BR /&gt;COUNTROWS ( FILTER ( 'Date', 'Date'[Date] &amp;gt; TODAY() &amp;amp;&amp;amp; 'Date'[Date] &amp;lt;= EOMONTH(TODAY(), 0) ) ),&lt;BR /&gt;'Date'[isWD] = "1",&lt;BR /&gt;REMOVEFILTERS ( 'Date'[isPastDay] )&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 10:58:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Working-Days-till-end-of-this-month/m-p/4410934#M175172</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-02-14T10:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Working Days till end of this month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Working-Days-till-end-of-this-month/m-p/4411010#M175179</link>
      <description>&lt;P&gt;Thank you &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The measure Working Days ToBe is showing 10 by Feb, but blank by the rest&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 11:44:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Working-Days-till-end-of-this-month/m-p/4411010#M175179</guid>
      <dc:creator>y5famfnatudu</dc:creator>
      <dc:date>2025-02-14T11:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Working Days till end of this month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Working-Days-till-end-of-this-month/m-p/4411278#M175191</link>
      <description>&lt;P&gt;I got the measure to work&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Working Days ToBe =
VAR _EndOfCurrentMonth =
    EOMONTH ( TODAY (), 0 )
VAR _WDtillEndOfCurrentMonth =
    CALCULATE (
        COUNTROWS ( FILTER ( 'Date', Date[Date] &amp;lt;= _EndOfCurrentMonth ) ),
        Date[isWD] = "1",
        REMOVEFILTERS ( Date[isPast] )
    )
RETURN
    _WDtillEndOfCurrentMonth&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 14 Feb 2025 14:38:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-of-Working-Days-till-end-of-this-month/m-p/4411278#M175191</guid>
      <dc:creator>y5famfnatudu</dc:creator>
      <dc:date>2025-02-14T14:38:49Z</dc:date>
    </item>
  </channel>
</rss>

