<?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: Trying to calculate a date based on working days from a date that is eneterd in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3028925#M103418</link>
    <description>&lt;P&gt;And how do I get it to work for the next 10 years?&amp;nbsp; Do I have to build a table that has all holidays for the next 10?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 14:38:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-18T14:38:07Z</dc:date>
    <item>
      <title>Trying to calculate a date based on working days from a date that is eneterd</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3014461#M102337</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to find a way to calculate a date that is 22 working days past a date that is entered into a table.&lt;/P&gt;&lt;P&gt;Need to make sure that weekends and federal holidays are not part of that 22 day count.&lt;/P&gt;&lt;P&gt;I tried using NETWORKDAYS, but that option is not available in the environment I am working in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example;&lt;/P&gt;&lt;P&gt;Date entered 12/31/22&amp;nbsp; + 22 working days = 2/2/23.&lt;/P&gt;&lt;P&gt;I need to calculate with a formula that will produce results for every day entered&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 16:33:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3014461#M102337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-11T16:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to calculate a date based on working days from a date that is eneterd</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3014484#M102338</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;You could try the old school method:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Net-Work-Days/m-p/367362#M109" target="_blank"&gt;Net Work Days - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 16:45:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3014484#M102338</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-01-11T16:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to calculate a date based on working days from a date that is eneterd</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3015723#M102396</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I make an example on Calendar table:&lt;/P&gt;
&lt;P&gt;1.Create a Calendar&amp;nbsp;table, it includes weekday column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Calendar = ADDCOLUMNS(CALENDAR(DATE(2022,1,1),DATE(2023,12,31)),
"Weenday",WEEKDAY([Date],2))&lt;/LI-CODE&gt;
&lt;P&gt;2.Create a holiday table to input the holiday and related date&lt;/P&gt;
&lt;P&gt;3.Then create the inputdate measure and the outputdate measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Outputdate = MAXX(TOPN(23,FILTER(ALL('Calendar'),[Date]&amp;gt;[Input_date]&amp;amp;&amp;amp;[Weenday]&amp;lt;6&amp;amp;&amp;amp;[Date]&amp;lt;&amp;gt;MAX(Holiday[Date])),[Date],ASC),[Date])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Yolo Zhu&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 05:52:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3015723#M102396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-12T05:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to calculate a date based on working days from a date that is eneterd</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3028925#M103418</link>
      <description>&lt;P&gt;And how do I get it to work for the next 10 years?&amp;nbsp; Do I have to build a table that has all holidays for the next 10?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 14:38:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3028925#M103418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-18T14:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to calculate a date based on working days from a date that is eneterd</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3028948#M103421</link>
      <description>&lt;P&gt;I need to calculate a date that is 45 work days past the start date.&amp;nbsp; I have to account for all weekends and holidays, then give users a deadline for them to be finished with the task which is 45 work days after it was entered in the system&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 14:46:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3028948#M103421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-18T14:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to calculate a date based on working days from a date that is eneterd</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3029948#M103509</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on the solution in offered, you need to create a table to store the holiday.&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Yolo Zhu&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 01:14:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-calculate-a-date-based-on-working-days-from-a-date/m-p/3029948#M103509</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-19T01:14:15Z</dc:date>
    </item>
  </channel>
</rss>

