Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Creating a Date Table | Data Modeling and DAX Fundamentals
Power BI for Beginners

Creating a Date Table

Svep för att visa menyn

Time intelligence functions in Power BI require a dedicated Date table, and this chapter shows you exactly how to build one. You'll use CALENDARAUTO to generate a complete, continuous calendar from your data's date range, then add calculated columns for Year, Month, Quarter, and Week Number.

You'll mark the table as an official date table, connect it to the Sales table through relationships, and verify everything works with a line chart showing monthly revenue. By the end, your model is fully connected and ready for the YTD and Year-over-Year measures in the next chapter.

question mark

Why can't you simply use the OrderDate column in the Sales table for time intelligence calculations instead of creating a separate Date table?

Vänligen välj det korrekta svaret

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 7

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

Avsnitt 3. Kapitel 7
some-alt