The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have this weird issue where the dates in Power Query which get's it's source from SQL doesn't fully match with the dates in Power Bi Table view.
As an example, i have filtered and sorted on both screenshots for the specific number and the following dates comes up, the issue is the date highligted blue on both screenshots which doesn't match.
As you can see the requested dates are fine while the promised isn't. Both columns are not calculations and just direclty from SQL.
Any idea?
Power Query=
Power Bi=
Thankyou, @jaineshp, @MasonMA, for your response.
Hi CESTX,
Hello @CESTX
My speculation is there might be mixed Data types in 'Promised Delicery Data' column in Power Query.
When the data is loaded into Power BI’s model, the column must be entirely of one date type, If even one row is text or improperly typed, Power Bi attempts to coerce it and convert text to date.
You may use AddColumn to run a quick check by
Table.AddColumn(Source, "DataTypeCheck", each Value.Type([Promised Delivery Date]))
Hope this helps:)
Hi @MasonMA
Thanks for the suggestion, however they all come out with the type date, so nothing seems wrong.
Hey @CESTX,
I had faced the similar issue a while ago.
Here's what fixed it.
Looking at your screenshots, this appears to be a common Power BI date formatting/display issue. Here are the key steps to resolve this:
1. Check Data Types in Power Query
2. Verify SQL Source Data
3. Refresh and Clear Cache
4. Column Settings Check
5. Model View Verification
Please note: -
The blue highlighted date (30-december-1899) is likely a default date from SQL when there's a NULL or conversion error. Focus on cleaning the source data and ensuring proper data types throughout the pipeline.
Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
Hi @jaineshp
Thanks for suggestions, sadly didn't help for my case.
In Power Query and model view, both columns was set to date.
For the SQL it is correct there is some null/blank value but this is as should be as the date for that specific column is not mandatory and a refresh didn't help.
Error check showed majority as blank and some valid but none as error.
It's weird because in Power Query both Requested date 08-08-2025 has promised date on 18-07-2025 while in model view only one of them has 18-07-2025.