<?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: Working days plus one in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-plus-one/m-p/3932604#M152999</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for reopening this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should i do if i need to add date plus 40 days (excluding weekends please)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Formula does not work correctly for adding 40 days from date (which will be different dates) and excluding weekend please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 13:06:31 GMT</pubDate>
    <dc:creator>jimpatel</dc:creator>
    <dc:date>2024-05-20T13:06:31Z</dc:date>
    <item>
      <title>Working days plus one</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-plus-one/m-p/3520220#M135220</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for looking at my post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a date column and i wanted to add one working date to it please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is Date column (not necessary today's date) + one working date please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea please?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 15:12:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-plus-one/m-p/3520220#M135220</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2023-11-07T15:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Working days plus one</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-plus-one/m-p/3520310#M135228</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="413988" data-lia-user-login="jimpatel" class="lia-mention lia-mention-user"&gt;jimpatel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you talking about a implementation in PowerBI as a Calculated Column or in PowerQuery?&lt;BR /&gt;&lt;BR /&gt;For the first option, you can use a validation formula and add the number of days accordingly, like :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DatePlus1= 
SWITCH(TRUE(),
          /*If Date+1 is Saturday, add 3 days*/  WEEKDAY( 'Table'[Column1] + 1,1) = 7 , 'Table'[Column1] + 3,
          /*If Date+1 is Sunday, add 2 days*/  WEEKDAY( 'Table'[Column1] + 1,1) = 1 , 'Table'[Column1] + 2,
          /*Else Date+1*/ 'Table'[Column1] + 1
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will work for business days, but only if excluding weekends. Another implementation for holidays would have to be planned, depending how you have that information in your dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this answer solves your problem!&lt;BR /&gt;If you need any additional help please &lt;SPAN&gt;@&lt;/SPAN&gt; me in your reply.&lt;BR /&gt;If my reply provided you with a solution, please consider marking it as a solution &lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt; or giving it a kudo &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/jpessoa08" target="_blank"&gt;You can also check out my LinkedIn!&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Jorge Pessoa&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 15:57:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-plus-one/m-p/3520310#M135228</guid>
      <dc:creator>jpessoa8</dc:creator>
      <dc:date>2023-11-07T15:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Working days plus one</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-plus-one/m-p/3520499#M135238</link>
      <description>&lt;P&gt;Much appreciated for your kind help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 17:29:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-plus-one/m-p/3520499#M135238</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2023-11-07T17:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Working days plus one</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-plus-one/m-p/3932604#M152999</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for reopening this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should i do if i need to add date plus 40 days (excluding weekends please)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Formula does not work correctly for adding 40 days from date (which will be different dates) and excluding weekend please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 13:06:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-plus-one/m-p/3932604#M152999</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2024-05-20T13:06:31Z</dc:date>
    </item>
  </channel>
</rss>

