Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Let's say we have the following date table:
Date = CALENDAR ( "2018-01-01", "2018-12-31" )
The following table should be empty, but it returns one row instead -- 1 January 2018:
DatesInPeriod Before = DATESINPERIOD ( 'Date'[Date], MIN ( 'Date'[Date] ) - 1, -1, MONTH )
The following table, which mirros the previous one, is empty as expected:
DatesInPeriod After = DATESINPERIOD ( 'Date'[Date], MAX ( 'Date'[Date] ) + 1, 1, MONTH )
DATESBETWEEN works as expected in both cases.
Download sample file: DatesInPeriod bug.pbix
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.