Mark As Date Table
Most data warehouses store date columns as integers for query performance reasons. For example, an Order Date Key column on a fact table would store the 20180225 (YYYYMMDD) value as an integer data type to represent February 25th, 2018. Likewise, an existing date dimension table in the data warehouse usually also contains a YYYYMMDD date key column to support the join to these fact tables in SQL queries. If this date dimension table also contains a date column and meets essential data integrity criteria, the Mark as Date Table feature in Power BI Desktop can be used to leverage existing integer/whole number columns representing dates for relationships.
In the following screenshot, the Date table has been selected in the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access