Dynamic Start Date and End Date for Power BI Date Table

preview_player
Показать описание
In this tutorial, I'll show you how to harness the power of Power Query in Power BI to create a dynamic calendar table.
Say goodbye to static date tables and hello to automation! Learn how to generate a calendar table that adapts to your data's start and end dates, enabling advanced time-based analyses.
Boost your data modelling skills and make your reports even more insightful. This is an essential technique for effective date-based reporting!

#PowerBI #DataAnalysis #PowerQuery #CalendarTable #TimeIntelligence #DataModeling #BusinessIntelligence #DataVisualization #DynamicCalendars
Рекомендации по теме
Комментарии
Автор

Okay so far so good? how do you use this data to create a parameter in the direct query?

brandonvarela
Автор

Hi Viorel. I did like this:
1. Drill down date column.
2. Sort Ascending.
3. Drill down 1st value.
4. Convert to table.
5. Convert data type to number.
6. Rename to Start date.
Duplicate the start date and change sort to Descending and rename to end date. = {Startdate..Enddate}.

This approach is OK Viorel.

qasimali-guoz
Автор

This doesn't make sense at all, you are recreating a date column that is already in Sales table. Why? I don't see the use of it. You could just duplicate the Sales table and remove the sales leaving the date column; which then later use as a date column for any analysis. In other way, you can also reference the query to Sales to create the date table.

pthapa