<?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: NETWORK DAYS in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NETWORK-DAYS/m-p/3648398#M141303</link>
    <description>&lt;P&gt;&amp;nbsp;, Try using this method&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Open the Power Query Editor.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Select the table that contains your start and end date columns.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Go to the "Add Column" tab and click on "Custom Column."&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the "Custom Column" dialog box, provide a name for the new column (e.g., "WorkingDays").&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Use the following formula to calculate the working days:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;M&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;WorkingDays = List.Difference( List.Dates([StartDate], Duration.From([EndDate] - [StartDate]) + #duration(1, 0, 0, 0)), List.Dates([StartDate], Duration.From([EndDate] - [StartDate]) + #duration(1, 0, 0, 0), #duration(1, 0, 0, -1)), (a, b) =&amp;gt; Date.ToText(a) = Date.ToText(b) ), WorkingDaysCount = List.Count(WorkingDays)&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please accept as solution if it helps&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Anonymous&lt;/LI-USER&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2024 14:41:23 GMT</pubDate>
    <dc:creator>bhanu_gautam</dc:creator>
    <dc:date>2024-01-19T14:41:23Z</dc:date>
    <item>
      <title>NETWORK DAYS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NETWORK-DAYS/m-p/3646213#M141215</link>
      <description>&lt;P&gt;Hi community,&lt;BR /&gt;&lt;BR /&gt;On Powerquery, I have two columns containing a start and end date, but I will like to&amp;nbsp; calculate the number of working days, in a custom column.&amp;nbsp; I would really appreciate any help with this.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 15:09:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NETWORK-DAYS/m-p/3646213#M141215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-18T15:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: NETWORK DAYS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NETWORK-DAYS/m-p/3646383#M141223</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&amp;nbsp;, Try using this method&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Open the Power Query Editor.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Select the table that contains your start and end date columns.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Go to the "Add Column" tab and click on "Custom Column."&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the "Custom Column" dialog box, provide a name for the new column (e.g., "WorkingDays").&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Use the following formula to calculate the working days:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;M&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;WorkingDays = List.Difference( List.Dates([StartDate], Duration.From([EndDate] - [StartDate]) + #duration(1, 0, 0, 0)), List.Dates([StartDate], Duration.From([EndDate] - [StartDate]) + #duration(1, 0, 0, 0), #duration(1, 0, 0, -1)), (a, b) =&amp;gt; Date.ToText(a) = Date.ToText(b) ), WorkingDaysCount = List.Count(WorkingDays)&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please accept as solution if it helps&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 18 Jan 2024 16:49:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NETWORK-DAYS/m-p/3646383#M141223</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-01-18T16:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: NETWORK DAYS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NETWORK-DAYS/m-p/3648398#M141303</link>
      <description>&lt;P&gt;&amp;nbsp;, Try using this method&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Open the Power Query Editor.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Select the table that contains your start and end date columns.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Go to the "Add Column" tab and click on "Custom Column."&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the "Custom Column" dialog box, provide a name for the new column (e.g., "WorkingDays").&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Use the following formula to calculate the working days:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;M&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;WorkingDays = List.Difference( List.Dates([StartDate], Duration.From([EndDate] - [StartDate]) + #duration(1, 0, 0, 0)), List.Dates([StartDate], Duration.From([EndDate] - [StartDate]) + #duration(1, 0, 0, 0), #duration(1, 0, 0, -1)), (a, b) =&amp;gt; Date.ToText(a) = Date.ToText(b) ), WorkingDaysCount = List.Count(WorkingDays)&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please accept as solution if it helps&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Anonymous&lt;/LI-USER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 14:41:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/NETWORK-DAYS/m-p/3648398#M141303</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-01-19T14:41:23Z</dc:date>
    </item>
  </channel>
</rss>

