<?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: DAX for subtracting number of days in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-subtracting-number-of-days/m-p/3450262#M131410</link>
    <description>&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;Here is the formula I created but in the subtract working days column it is still giving me the same date rather than prior 7 business days before. Thank you!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2023 16:44:25 GMT</pubDate>
    <dc:creator>HB2104</dc:creator>
    <dc:date>2023-09-27T16:44:25Z</dc:date>
    <item>
      <title>DAX for subtracting number of days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-subtracting-number-of-days/m-p/3448746#M131308</link>
      <description>&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know if there is a DAX formula that can subtract a specific number of working days from a date given? So lets says date is today 9/26/23 and I need to subtract 7 business days from that date which is 9/18/23. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 01:34:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-subtracting-number-of-days/m-p/3448746#M131308</guid>
      <dc:creator>HB2104</dc:creator>
      <dc:date>2023-09-27T01:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for subtracting number of days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-subtracting-number-of-days/m-p/3449136#M131331</link>
      <description>&lt;P&gt;You can use the following dax measure&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SubtractWorkingDays = VAR StartDate = TODAY() // Replace with your specific date &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR NumDaysToSubtract = 7 // Replace with the number of business days to subtract &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR CalendarTable = CALENDAR(StartDate - NumDaysToSubtract, StartDate) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR WorkingDaysTable = FILTER(CalendarTable, WEEKDAY([Date], 2) &amp;lt;= 5) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RETURN MAXX(WorkingDaysTable, [Date])&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 07:24:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-subtracting-number-of-days/m-p/3449136#M131331</guid>
      <dc:creator>nirali_arora</dc:creator>
      <dc:date>2023-09-27T07:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for subtracting number of days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-subtracting-number-of-days/m-p/3450041#M131393</link>
      <description>&lt;P&gt;Do I need to make a working days calendar for this dax? Slightly new at using so trying to understand. Thank you!!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 14:56:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-subtracting-number-of-days/m-p/3450041#M131393</guid>
      <dc:creator>HB2104</dc:creator>
      <dc:date>2023-09-27T14:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for subtracting number of days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-subtracting-number-of-days/m-p/3450262#M131410</link>
      <description>&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;Here is the formula I created but in the subtract working days column it is still giving me the same date rather than prior 7 business days before. Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 16:44:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-subtracting-number-of-days/m-p/3450262#M131410</guid>
      <dc:creator>HB2104</dc:creator>
      <dc:date>2023-09-27T16:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for subtracting number of days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-subtracting-number-of-days/m-p/3450268#M131412</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 16:46:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-subtracting-number-of-days/m-p/3450268#M131412</guid>
      <dc:creator>HB2104</dc:creator>
      <dc:date>2023-09-27T16:46:47Z</dc:date>
    </item>
  </channel>
</rss>

