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.
Function definiton:
https://msdn.microsoft.com/query-bi/dax/datesinperiod-function-dax
Problem:
Can't save/apply/change measure anymore due to not accepting any interval parameter
Measure:
avg something = CALCULATE(AVERAGE('Table'[something]),
DATESINPERIOD('Table'[Date],TODAY(), -7, DAY))
Version:
Version: 2.57.5068.721 64-bit (April 2018)
Solution/Fix:
avg something = CALCULATE(AVERAGE('Table'[something]),
DATESINPERIOD('Table'[Date],TODAY(), -7,0 , DAY))
Function is defined with integer and not number. Parser seems to be broken
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.