<?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: Days Between Dates with Negatives in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Days-Between-Dates-with-Negatives/m-p/769230#M3602</link>
    <description>Just add a column to your Date table that will mark a date as a weekday or weekend day and then filter appropriately in your measures.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Darek</description>
    <pubDate>Sun, 18 Aug 2019 14:10:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-18T14:10:42Z</dc:date>
    <item>
      <title>Days Between Dates with Negatives</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Days-Between-Dates-with-Negatives/m-p/58303#M28</link>
      <description>&lt;P&gt;Have used this one countless times. The problem is that DAYSBETWEEN DAX function does not allow returning negative values, so instead use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DaysBetween = ROUNDUP(1.*[Date]-[OtherDate],0),&lt;/PRE&gt;</description>
      <pubDate>Sat, 13 Aug 2016 02:07:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Days-Between-Dates-with-Negatives/m-p/58303#M28</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2016-08-13T02:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Days Between Dates with Negatives</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Days-Between-Dates-with-Negatives/m-p/59287#M42</link>
      <description>&lt;P&gt;Here is an ugly alternative :)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column = IFERROR(&lt;BR /&gt;DATEDIFF(Dates[Date],Dates[OtherDate],DAY),&lt;BR /&gt;-DATEDIFF(Dates[OtherDate],Dates[Date],DAY )&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 00:34:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Days-Between-Dates-with-Negatives/m-p/59287#M42</guid>
      <dc:creator>Phil_Seamark</dc:creator>
      <dc:date>2016-08-17T00:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Days Between Dates with Negatives</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Days-Between-Dates-with-Negatives/m-p/769001#M3573</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you count only work days between two dates?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Elizabeth Tachjian&lt;/P&gt;&lt;P&gt;elizabeth@analyticsrealtime.com.au&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 23:26:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Days-Between-Dates-with-Negatives/m-p/769001#M3573</guid>
      <dc:creator>ElizabethTachji</dc:creator>
      <dc:date>2019-08-16T23:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Days Between Dates with Negatives</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Days-Between-Dates-with-Negatives/m-p/769230#M3602</link>
      <description>Just add a column to your Date table that will mark a date as a weekday or weekend day and then filter appropriately in your measures.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Darek</description>
      <pubDate>Sun, 18 Aug 2019 14:10:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Days-Between-Dates-with-Negatives/m-p/769230#M3602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-18T14:10:42Z</dc:date>
    </item>
  </channel>
</rss>

