I have a database in SQL Server that also has a related tabular database in Analysis Server. One of the tables has columns of type date
in SQL Server:
If I run a SQL select in SQL Server select * from app_dates
, I get the dates:
But if I run the equivalent in DAX evaluate app_dates
I get date/time values instead of dates:
The problem is that my program detects automatically the types, and the type that Analysis Services returns is date/time instead of date.
How to tell Analysis Services that the column type should be date
?