<?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: Help with Custom Column Measure - Datediff between two dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2159563#M49930</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file size is too big. can you please share a sample of your data and the result you are looking for?&lt;/P&gt;&lt;P&gt;Do you want the Day between those dates or Hours?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 02:18:51 GMT</pubDate>
    <dc:creator>VahidDM</dc:creator>
    <dc:date>2021-10-28T02:18:51Z</dc:date>
    <item>
      <title>Help with Custom Column Measure - Datediff between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2159334#M49923</link>
      <description>&lt;P&gt;I have custom column measure (created by another forum member) that returns Working Days (excluding weekends &amp;amp; holidays) between two dates but its not returning correct result as per screenshot below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's link to sample report &amp;gt;&amp;gt;&lt;A href="https://drive.google.com/drive/folders/1dmmbhdbzySZBr8oTxj9CWsmztwFQ3f8A?usp=sharing" target="_blank"&gt;https://drive.google.com/drive/folders/1dmmbhdbzySZBr8oTxj9CWsmztwFQ3f8A?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Appreciate any help please. &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="315278" data-lia-user-login="VahidDM" class="lia-mention lia-mention-user"&gt;VahidDM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Job to Accep Working Days = 
VAR t1 =
    CALENDAR (
        [JOB_BOOKING_DATETIME],
        IF (
            ISBLANK ( [ACCEPTANCE_DATETIME] )
                || [JOB_BOOKING_DATETIME] &amp;gt; [ACCEPTANCE_DATETIME],
            [JOB_BOOKING_DATETIME],
            [ACCEPTANCE_DATETIME]
        )
    )
VAR t2 =
    FILTER (
        ADDCOLUMNS (
            t1,
            "IsWorkDay_",
                LOOKUPVALUE (
                    'Calendar Job Booking'[WorkingDay],
                    'Calendar Job Booking'[Date], [Date]
                )
        ),
        [IsWorkDay_] = "Yes"
    )
VAR Days_ =
    COUNTROWS ( t2 ) - 1
VAR StartWorkingDateTime =
    MINX ( t2, [Date] )
VAR EndWorkingDateTime =
    MAXX ( t2, [Date] )
VAR JOB_BOOKING_DATE =
    DATE ( YEAR ( [JOB_BOOKING_DATETIME] ), MONTH ( [JOB_BOOKING_DATETIME] ), DAY ( [JOB_BOOKING_DATETIME] ) )
VAR ACCEPTANCE_DATE =
    DATE ( YEAR ( [ACCEPTANCE_DATETIME] ), MONTH ( [ACCEPTANCE_DATETIME] ), DAY ( [ACCEPTANCE_DATETIME] ) )
VAR DateDiff_Start =
    IF (
        StartWorkingDateTime = JOB_BOOKING_DATE,
        DATEDIFF ( StartWorkingDateTime, [JOB_BOOKING_DATETIME], HOUR )
    )
VAR DateDiff_End =
    IF (
        EndWorkingDateTime = ACCEPTANCE_DATE,
        DATEDIFF ( EndWorkingDateTime, [ACCEPTANCE_DATETIME], HOUR )
    )
VAR DateDiff_Hour =
    IF (
        ISBLANK ( [ACCEPTANCE_DATETIME] )
            || [JOB_BOOKING_DATETIME] &amp;gt; [ACCEPTANCE_DATETIME],
        BLANK (),
        Days_ * 24 - DateDiff_Start + DateDiff_End
    )
RETURN
    DateDiff_Hour&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 22:23:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2159334#M49923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-27T22:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Custom Column Measure - Datediff between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2159432#M49927</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Have you tried Net Work Days?&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>Thu, 28 Oct 2021 01:01:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2159432#M49927</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2021-10-28T01:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Custom Column Measure - Datediff between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2159563#M49930</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file size is too big. can you please share a sample of your data and the result you are looking for?&lt;/P&gt;&lt;P&gt;Do you want the Day between those dates or Hours?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 02:18:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2159563#M49930</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-10-28T02:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Custom Column Measure - Datediff between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2159676#M49933</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="315278" data-lia-user-login="VahidDM" class="lia-mention lia-mention-user"&gt;VahidDM&lt;/a&gt; , I've reduced dataset for September only. Please try again same link.&lt;/P&gt;&lt;P&gt;Expected result in Days. Also note the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;time difference is Job Booking Datetime - Acceptance Datetime&lt;/LI&gt;&lt;LI&gt;if Acceptance Datetime &amp;gt; Job Booking Datetime, negative value is fine&lt;/LI&gt;&lt;LI&gt;if Acceptance Datetime is blank, return blank&lt;/LI&gt;&lt;LI&gt;if time difference is less than 24hrs, return 0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 03:27:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2159676#M49933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-28T03:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Custom Column Measure - Datediff between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2161607#M49976</link>
      <description>&lt;P&gt;I did not dig into your full formula, and by quick look you are calculating hours and expecting result as Day, hence you see numbers so big.&lt;BR /&gt;&lt;BR /&gt;It can be simplified as you are doing only date diff.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;[Formula updated later in this thread, do NOT use this one]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Job to Accep Working Days v3 = 

var _d_jbook = [JOB BOOKING DATE SHORT] -- DATEVALUE( Format( [JOB_BOOKING_DATETIME], "mm/dd/yyyy") )

var _d_accept = if ( Len([ACCEPTANCE_DATETIME]) &amp;lt;= 0, blank(), DATEVALUE( Format( [ACCEPTANCE_DATETIME], "mm/dd/yyyy") ))
var _d_end = if (ISBLANK(_d_accept) || _d_jbook &amp;gt; _d_accept, _d_jbook, _d_accept)
var _workdays = CALCULATE( countrows( 'Calendar Job Booking'), 
                    FILTER('Calendar Job Booking', 'Calendar Job Booking'[WorkingDay] = "yes"), 
                    DATESBETWEEN('Calendar Job Booking'[Date], _d_end, _d_jbook))
RETURN _workdays -- -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;Note:&amp;nbsp;[ACCEPTANCE_DATETIME]: you can add short date as you did for Job Booking date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sqlbi.com/blog/alberto/2019/03/25/using-dax-with-datetime-values/" target="_blank" rel="noopener"&gt;https://www.sqlbi.com/blog/alberto/2019/03/25/using-dax-with-datetime-values/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 17:35:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2161607#M49976</guid>
      <dc:creator>sevenhills</dc:creator>
      <dc:date>2021-10-29T17:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Custom Column Measure - Datediff between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2162214#M49992</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="29249" data-lia-user-login="sevenhills" class="lia-mention lia-mention-user"&gt;sevenhills&lt;/a&gt; , thanks for this it looks much cleaner and some results look correct however there are still errors as per screenshot. I still need the 'time' aspect of the date to be included in calculation for the following reasons:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;time difference is Job Booking Datetime - Acceptance Datetime&lt;/LI&gt;&lt;LI&gt;if Acceptance Datetime &amp;gt; Job Booking Datetime, return negative value is fine&lt;/LI&gt;&lt;LI&gt;if Acceptance Datetime is blank, return blank&lt;/LI&gt;&lt;LI&gt;if time difference is less than 24hrs, return 0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To achieve this, would it be easier to have 2 custom columns i.e. one for DAYS, and one for HOURS?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 04:02:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2162214#M49992</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-29T04:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Custom Column Measure - Datediff between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2163660#M50049</link>
      <description>&lt;P&gt;A) Hours vs Days:&lt;/P&gt;&lt;P&gt;In the past, when I was working on Hospitals data, we decided to have like this, purely based on the business requirements&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Small note: we started Elasped time (days) as calculating in hours and then dividing by 24 to convert to decimal days. It was causing some confusion in some scenarios and in the end we decided to diff as days only.&amp;nbsp; We convinced the business users as two measures like below. Hope it helps for you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Elapsed time in Hours&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If it is less than 3 days i.e., Max 72 hours. If it is more than 72 hours, this will be blank. (not zero)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Elapsed time&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;By default used and calculation is in days.&lt;BR /&gt;(1 for less than 24 hours)&lt;/LI&gt;&lt;LI&gt;Say in your scenario, it will be blank for blank end dates&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;B) Back to DAX,&amp;nbsp; please check the updated formula&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Job to Accep Working Days v3.1 = 
var _d_jbook = DATEVALUE( [JOB_BOOKING_DATETIME])
var _d_accept = if ( [ACCEPTANCE_DATETIME] = blank(), blank(), DATEVALUE( [ACCEPTANCE_DATETIME] ))
var _d_end = if (ISBLANK(_d_accept) || _d_jbook &amp;gt; _d_accept, _d_jbook, _d_accept)
var _workdays = CALCULATE( countrows( 'Calendar Job Booking'), 
                    DATESBETWEEN('Calendar Job Booking'[Date], _d_jbook, _d_end), 
                    FILTER('Calendar Job Booking', 'Calendar Job Booking'[WorkingDay] = "yes")
                    )
RETURN if (ISBLANK(_d_accept), blank(), _workdays -1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remove "-1" to your needs. Because some does not want decimal days as one day and some want it. I added -1 to remove those decimal days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, since we are using "if" logic to adjust the end date and also for blank date, I hardly think of negative value scenarios&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hope this will help&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 21:00:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2163660#M50049</guid>
      <dc:creator>sevenhills</dc:creator>
      <dc:date>2021-10-29T21:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Custom Column Measure - Datediff between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2164136#M50078</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="29249" data-lia-user-login="sevenhills" class="lia-mention lia-mention-user"&gt;sevenhills&lt;/a&gt; , thank you for explaining, appreciate it. However some values don't look right unless I'm misintepreting them? As per screenshots (one includes -1, the other excludes -1), can you please explain the difference? Let's use the first row as an example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure including -1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Job booking datetime 16/09/2021 4:00:00pm Acceptance datetime 6/10/2021 2:33:54pm Working Days = 1036 I presume this is 10.36 days? If so, then shouldn't expected result = ~13/14 days? If not, is that result in hours? Then shouldn't it be ~312/336hrs?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure excluding -1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Job booking datetime 16/09/2021 4:00:00pm Acceptance datetime 6/10/2021 2:33:54pm Working Days = 1110 I presume this is 11.10 days? If so, then shouldn't expected result = ~13/14 days? If not, is that result in hours? Then shouldn't it be ~312/336hrs?&lt;/P&gt;&lt;P&gt;FYI: I intend to use this measure in a visual that will group job bookings by working days (screenshot below - the measure used &lt;STRONG&gt;includes&lt;/STRONG&gt; weekends/holidays)&lt;/P&gt;&lt;P&gt;My apologies for the long post and if I'm missing something obvious in your explanation and calculation, I'm still learning and I appreciate your time with this.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 01:46:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2164136#M50078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-30T01:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Custom Column Measure - Datediff between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2164164#M50079</link>
      <description>&lt;P&gt;a) Please check your data types of columns used in this DAX if not dates or date times&lt;BR /&gt;"[JOB_BOOKING_DATETIME], [ACCEPTANCE_DATETIME]" ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) I provided below is calculated column DAX.&amp;nbsp; (Sorry, Not measure syntax. R u doing Measure?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Job to Accep Working Days v3.1 = 
var _d_jbook = DATEVALUE( [JOB_BOOKING_DATETIME])
var _d_accept = if ( [ACCEPTANCE_DATETIME] = blank(), blank(), DATEVALUE( [ACCEPTANCE_DATETIME] ))
var _d_end = if (ISBLANK(_d_accept) || _d_jbook &amp;gt; _d_accept, _d_jbook, _d_accept)
var _workdays = CALCULATE( countrows( 'Calendar Job Booking'), 
                    DATESBETWEEN('Calendar Job Booking'[Date], _d_jbook, _d_end), 
                    FILTER('Calendar Job Booking', 'Calendar Job Booking'[WorkingDay] = "yes")
                    )
RETURN if (ISBLANK(_d_accept), blank(), _workdays -1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;c) If it is a measure, please try this way...&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Job to Accep Working Days v3.2 = 
var _d_jbook = DATEVALUE( Minx('FreightForward v2', [JOB_BOOKING_DATETIME]))
var _d_accept = if ( Maxx('FreightForward v2', [ACCEPTANCE_DATETIME]) = blank(), blank(), DATEVALUE( Maxx('FreightForward v2', [ACCEPTANCE_DATETIME] ) ))
var _d_end = if (ISBLANK(_d_accept) || _d_jbook &amp;gt; _d_accept, _d_jbook, _d_accept)
var _workdays = CALCULATE( countrows( 'Calendar Job Booking'), 
                    DATESBETWEEN('Calendar Job Booking'[Date], _d_jbook, _d_end), 
                    FILTER('Calendar Job Booking', 'Calendar Job Booking'[WorkingDay] = "yes")
                    )
RETURN if (ISBLANK(_d_accept), blank(), _workdays -1)&lt;/LI-CODE&gt;&lt;P&gt;In the measure code above,&amp;nbsp;I am doing is&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; _d_jbook is getting the Job Booking date time and extracting only date part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; _d_accept is getting the Acceptance date time for non-blank values and extracting only date part&lt;BR /&gt;- _d_end is the logic which is to adjust the dates per your logic needs&lt;/P&gt;&lt;P&gt;- _workdays is to calculate using the date table, between the two dates, with working days as "yes"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Returning the value only if the acceptance date is NOT blank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 02:45:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2164164#M50079</guid>
      <dc:creator>sevenhills</dc:creator>
      <dc:date>2021-10-30T02:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Custom Column Measure - Datediff between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2164537#M50102</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="29249" data-lia-user-login="sevenhills" class="lia-mention lia-mention-user"&gt;sevenhills&lt;/a&gt; , that measure you provided worked with correct results. The issue was obviously me using the custom column dax instead of a measure. I learned something new. Sorry for dragging this on when it could have been solved much sooner. Thank you again for you help and patience with this, much appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 22:15:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2164537#M50102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-30T22:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Custom Column Measure - Datediff between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2166611#M50231</link>
      <description>&lt;P&gt;Glad, it worked in the end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oops, The title of the post says "&lt;SPAN&gt;Custom Column" so I thought as calculated column. I should have asked you clearly. Happy it got solved.&amp;nbsp;&lt;/SPAN&gt;&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 16:04:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Custom-Column-Measure-Datediff-between-two-dates/m-p/2166611#M50231</guid>
      <dc:creator>sevenhills</dc:creator>
      <dc:date>2021-11-01T16:04:38Z</dc:date>
    </item>
  </channel>
</rss>

