Report Portal

DATE function does not support all the dates in DAX by design #powerpivot #tabular #dax

The DATE function in DAX has this simple syntax:

DATE( , , )<lockquote> If you are like me, you never read the BOL notes that says in a clear way that it supports dates beginning with March 1, 1900. In fact, I was wrongly assuming that it would have supported any date that can be represented in a Date data type in Data Models, so all the dates beginning with January 1, 1900. The funny thing is that in some of the BOL documentation you will find that Date data type supports dates after March 1, 1900 (which seems not including that date, but this is a detail.). But we should not digress. The real issue is that if you try to call the DATE function passing values between January 1 and February 28, 1900, you will see a different day as a result.

Read more...

Tags: dax, date

 

2007-2015 VidasSoft Systems Inc.