<?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: How to get date that is 7th working days from any specific date in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-date-that-is-7th-working-days-from-any-specific-date/m-p/1126754#M23927</link>
    <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp; For my scenario, the NetWorkingDays is fixed number, ie. NetWorkingDays = 7. I would need a Dax function that would return the date instead by subtracting 7 working days from current date or the selected date. I need this to find the average of 7 working days. Please let me know if you have solution for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pragati&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 13:55:15 GMT</pubDate>
    <dc:creator>PragatiM</dc:creator>
    <dc:date>2020-05-28T13:55:15Z</dc:date>
    <item>
      <title>How to get date that is 7th working days from any specific date</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-date-that-is-7th-working-days-from-any-specific-date/m-p/1124439#M23906</link>
      <description>&lt;P&gt;Can someone help me to get the 7th working day (-7) from today in DAX&lt;/P&gt;&lt;P&gt;for eg: if today is 5/13/2020 then it should return 5/4/2020&amp;nbsp; excluding (5/9 and 5/10 weekend)&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 21:34:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-date-that-is-7th-working-days-from-any-specific-date/m-p/1124439#M23906</guid>
      <dc:creator>PragatiM</dc:creator>
      <dc:date>2020-05-27T21:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get date that is 7th working days from any specific date</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-date-that-is-7th-working-days-from-any-specific-date/m-p/1124532#M23909</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/234115"&gt;@PragatiM&lt;/a&gt;&amp;nbsp;- You should be able to use the technique here for Net Working Days -&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Net-Work-Days/m-p/367362#M109" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Net-Work-Days/m-p/367362#M109&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The basic technique is that you use WORKDAY with the 2 parameter and exclude workdays that are &amp;gt; 5&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 23:33:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-date-that-is-7th-working-days-from-any-specific-date/m-p/1124532#M23909</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-27T23:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get date that is 7th working days from any specific date</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-date-that-is-7th-working-days-from-any-specific-date/m-p/1126754#M23927</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp; For my scenario, the NetWorkingDays is fixed number, ie. NetWorkingDays = 7. I would need a Dax function that would return the date instead by subtracting 7 working days from current date or the selected date. I need this to find the average of 7 working days. Please let me know if you have solution for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pragati&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 13:55:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-date-that-is-7th-working-days-from-any-specific-date/m-p/1126754#M23927</guid>
      <dc:creator>PragatiM</dc:creator>
      <dc:date>2020-05-28T13:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get date that is 7th working days from any specific date</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-date-that-is-7th-working-days-from-any-specific-date/m-p/1127071#M23934</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/234115"&gt;@PragatiM&lt;/a&gt;&amp;nbsp;Net Work Days returns the number of working days between two dates, true. But it is the technique that I was pointing you to. In your case, you would create a table variable using CALENDAR that would be from your date to your date -9 (you can just subtract 9 from your date to get your starting date for CALENDAR). You would use ADDCOLUMNS to add a WEEKDAY column using 2 as the second parameter. You then FILTER this to remove rows where your weekday column is greater than 5. Now you use ADDCOLUMNS again to count how many days each date is away from your target date. You then FILTER this to 7 and that's your date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want a specific implementation,&amp;nbsp;please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 15:41:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-date-that-is-7th-working-days-from-any-specific-date/m-p/1127071#M23934</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-28T15:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get date that is 7th working days from any specific date</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-date-that-is-7th-working-days-from-any-specific-date/m-p/1136062#M23978</link>
      <description>&lt;P&gt;Thanks Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your suggession. I created a function that would list the7th working day for each day as per my need and then&amp;nbsp;import&amp;nbsp;that&amp;nbsp;tabe&amp;nbsp;to my tabular model for further process.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="png1.png" style="width: 706px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/284664i56D637CF541D7F28/image-size/large?v=v2&amp;amp;px=999" role="button" title="png1.png" alt="png1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Jun 2020 13:09:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-date-that-is-7th-working-days-from-any-specific-date/m-p/1136062#M23978</guid>
      <dc:creator>PragatiM</dc:creator>
      <dc:date>2020-06-02T13:09:27Z</dc:date>
    </item>
  </channel>
</rss>

