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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Data Validation when trying to create a date table

I'm trying to set a date table and I keep getting this validation error.  I have other tables in this project that have date columns and when I try to create an actual date table, it won't let me.

I updated my PBI to the latest release and now my dashboard won't work, so I'm hoping to fix the issue by starting from scratch!  I haven't even gotten to build the visuals (where I got the Error fetching data errors) to see if the visual will work.

Does anyone know what is causing the date table issue?  In another post the issue was because it was the only table, but that's not the issue here.  I have 2 other tables connected to it.

Screenshot 2024-10-25 112848.png

Also, is there any way to revert back to the older version of PBI?  

2 ACCEPTED SOLUTIONS
saud968
Super User
Super User

DIM_Date =
VAR MinDate = DATE(2024, 1, 1)
VAR MaxDate = DATE(2024, 12, 31)
RETURN
ADDCOLUMNS(
CALENDAR(MinDate, MaxDate),
"Date", [Date],
"Year", YEAR([Date]),
"Month", FORMAT([Date], "mmmm"),
"MonthNo", MONTH([Date])
)

Other Things

Remove the time component (12:00:00 AM) from your dates
Disconnect any relationships temporarily while setting up the date table
Clear existing date table markings in your model
Try refreshing the model after making these changes


Best Regards
Saud Ansari
If this post helps, please Accept it as a Solution to help other members find it. I appreciate your Kudos!

View solution in original post

Anonymous
Not applicable

Hi @Anonymous 

 

If you want to revert back to the older version of PBI, please refer to this link:

Previous monthly updates to Power BI Desktop and the Power BI service - Power BI | Microsoft Learn

The document contains all the history version of the Power bi desktop and it's details of what's new in each of its releases.

 

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

 

If you want to revert back to the older version of PBI, please refer to this link:

Previous monthly updates to Power BI Desktop and the Power BI service - Power BI | Microsoft Learn

The document contains all the history version of the Power bi desktop and it's details of what's new in each of its releases.

 

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

saud968
Super User
Super User

DIM_Date =
VAR MinDate = DATE(2024, 1, 1)
VAR MaxDate = DATE(2024, 12, 31)
RETURN
ADDCOLUMNS(
CALENDAR(MinDate, MaxDate),
"Date", [Date],
"Year", YEAR([Date]),
"Month", FORMAT([Date], "mmmm"),
"MonthNo", MONTH([Date])
)

Other Things

Remove the time component (12:00:00 AM) from your dates
Disconnect any relationships temporarily while setting up the date table
Clear existing date table markings in your model
Try refreshing the model after making these changes


Best Regards
Saud Ansari
If this post helps, please Accept it as a Solution to help other members find it. I appreciate your Kudos!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors