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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JJP1
Regular Visitor

Dates Table

Hello,

 

I created a Dates Table with a column that captures all dates in an identified data set. I used the following formula to achieve this: 

DatesTable = CALENDAR(MIN('Daily WS Business Expertise'[Application_Received_Date]), MAX('Daily WS Business Expertise'[Application_Received_Date]))
 
I observed after some time that all items are no longer being filtered and displayed correctly in Power BI visuals. I found that I eventually had to add to the end of the formula above to get it to filter and display data in visuals. The first time I added '+10' to the formula and just recently, I had to add '+30', so it now looks like this:
 
DatesTable = CALENDAR(MIN('Daily WS Business Expertise'[Application_Received_Date]), MAX('Daily WS Business Expertise'[Application_Received_Date])+30)
 
Is there another measure I can use for this column, so that I do not need to keep adding # of days to the end of the measure every so often? Simply put, I am looking for a long-term/permanent solution that does not require regular maintenance of the measure. 
 
Any help is appreciated! Thanks!
1 ACCEPTED SOLUTION
daircom
Resolver II
Resolver II

@JJP1 
Often simply creating a table using the below already works, as this formula looks at all the data in your data model.

Calendar_Table = CALENDARAUTO()

View solution in original post

2 REPLIES 2
daircom
Resolver II
Resolver II

@JJP1 
Often simply creating a table using the below already works, as this formula looks at all the data in your data model.

Calendar_Table = CALENDARAUTO()

This seems to work for now. It has happened where measures tend to work for some time and eventually they stop working. Hopefully this is the answer!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.