Reputation: 1272
In PowerPivot DAX formulas, I need the number of days between two dates.
My formula is
ProjectDays:=[ProjectFinish]-[ProjectStart]
But instead of a number, it returns a date.
Any ideas?
Upvotes: 0
Views: 2080
Reputation: 3798
ProjectDays:= VALUE( [ProjectFinish] - [ProjectStart] )
VALUE() is the poorly named 'convert to numeric type' function.
Upvotes: 3