Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
antmat
Frequent Visitor

Load dates based on other tables

Hi! We have a Date Table (Calendar) in our Data warehouse, with dates from 2008-2017. But in some reports we only want to load dates based on the other imported data, ex. "min(sales date)" to "max(sales date"). Is this possible? Or should we think different when using Date tables in Power BI?

 

Thanks!

3 REPLIES 3
Anonymous
Not applicable

Hi antmat,

 

>>The problem is that our Azure Datawarehouse already have a complete Date table, which we would like to use.

 

Based on your description, you already had a date table, you want to know how to use it to get a specify dynamic date table, right?

 

If it is a case, you could take a look at below steps:

1. Create tables.

Calendar table.(your date table form azure warehouse)

 Capture.PNG

Specify table with date column.

 Capture2.PNG

 

2. Create the new table with minimum and maximum date from the specify  

Table = FILTER(CALENDARTable,AND(CALENDARTable[Date]>=FIRSTDATE(Sheet1[Date]),CALENDARTable[Date]<=LASTDATE(Sheet1[Date])))

 Capture3.PNG

 

 

Regards,

Xiaoxin Sheng

BhaveshPatel
Community Champion
Community Champion

Hi Antmat,

 

This post on PowerBI community will provide you the best guidance and use of DAX to create a Dynamic Date Table.

 

https://community.powerbi.com/t5/Desktop/Possible-Tip-Trick-Dynamic-Date-Dimension-Table/td-p/8462

 

Best Regards,

Bhavesh

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Hi 

 

Thanks, but I already know how to create a dynamic date table in PowerBI. The problem is that our Azure Datawarehouse already have a complete Date table, which we would like to use. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors