<?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: Count open days of any month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-open-days-of-any-month/m-p/1674112#M34255</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; ,&lt;/P&gt;
&lt;P&gt;Not very clear what is open days?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Total day in current month = day(eomonth(Today(),0)&lt;/P&gt;
&lt;P&gt;Total day in next month = day(eomonth(Today(),1)&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 09:02:17 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-02-18T09:02:17Z</dc:date>
    <item>
      <title>Count open days of any month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-open-days-of-any-month/m-p/1674086#M34254</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on a dax to calculate the open days in a month. For example, I would like to calculate the open days of March month. So the dax that I wrote is :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;OD = CALCULATE(DISTINCTCOUNT('Calendar'[Date]),FILTER('Calendar','Calendar'[Month]=MONTH(NOW())+1))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So the result is: 31 days, is the number of all days of March month.&lt;/DIV&gt;&lt;DIV&gt;Do you have any tips to calculate the open days of any month?&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you in advance.&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Feb 2021 08:53:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-open-days-of-any-month/m-p/1674086#M34254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-18T08:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count open days of any month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-open-days-of-any-month/m-p/1674112#M34255</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; ,&lt;/P&gt;
&lt;P&gt;Not very clear what is open days?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Total day in current month = day(eomonth(Today(),0)&lt;/P&gt;
&lt;P&gt;Total day in next month = day(eomonth(Today(),1)&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 09:02:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-open-days-of-any-month/m-p/1674112#M34255</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-02-18T09:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count open days of any month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-open-days-of-any-month/m-p/1674152#M34257</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open days are the days that we work on: from Monday to Friday. For example, for March the open days are 23, not 31. I would like to calculate it for all months!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 09:13:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-open-days-of-any-month/m-p/1674152#M34257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-18T09:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count open days of any month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-open-days-of-any-month/m-p/1674157#M34258</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , for next month &lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Work Day = COUNTROWS(FILTER(ADDCOLUMNS(CALENDAR(EOMONTH(TODAY(),0)+1, EOMONTH(TODAY(),1)),"WorkDay", if(WEEKDAY([Date],2) &amp;lt;6,1,0)),[WorkDay] =1))&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Feb 2021 09:14:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-open-days-of-any-month/m-p/1674157#M34258</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-02-18T09:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count open days of any month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-open-days-of-any-month/m-p/1675162#M34305</link>
      <description>&lt;P&gt;Here's how to do that demonstrated by the Master of DAX, Alberto Ferarri:&amp;nbsp;&lt;A href="https://youtu.be/JgeUhXkxXbU" target="_blank"&gt;https://youtu.be/JgeUhXkxXbU&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 15:55:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-open-days-of-any-month/m-p/1675162#M34305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-18T15:55:49Z</dc:date>
    </item>
  </channel>
</rss>

