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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
arlindTrystar
Advocate I
Advocate I

Is this normal? Date column shows as datetime in Fabric UI

Is this expected?

Screenshot from Fabric Lakehouse UI

arlindTrystar_0-1724417730770.png

Same data from Fabric PySpark Notebook:

arlindTrystar_1-1724417934344.png

And schema:

arlindTrystar_2-1724418069584.png

 

 

Why is this?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

There is no such thing as a Date data type.  Everything is always DateTime.  When you ask for "Date"  Power BI and Fabric will give you a DateTime value pegged at midnight UTC.

View solution in original post

7 REPLIES 7
lbendlin
Super User
Super User

There is no such thing as a Date data type.  Everything is always DateTime.  When you ask for "Date"  Power BI and Fabric will give you a DateTime value pegged at midnight UTC.

Interesting. Could you reference to some docs which explain this?

 

I still think it's a bad user experience to show the 12:00:00 AM in each cell when the data type is set to Date in the delta table. 

 

It adds cognitive load to the user.

Nice, thanks for sharing!

 

I'm curious to learn about the Int128 case!

 

However, the OP is showing the Lakehouse explorer, not a Power BI semantic model. So I'm not sure if the Power BI documentation is relevant for this case.

 

And OP has shown that the data type is date (OrderDate: date (nullable = true)).

 

So it seems that the Lakehouse explorer is formatting date type as date/time? 

I did a similar test, and got the same results as the OP:

 

Notebook user interface:

frithjof_v_3-1724538488437.png

frithjof_v_4-1724538637104.png

 

Lakehouse user interface:

frithjof_v_2-1724537713462.png

 

 

They use the same/similar engine, so they are constrained to the same data types.

 

Wait until you learn about how DateTimeZone is represented 🙂

"They use the same/similar engine, so they are constrained to the same data types."

 

Is there some documentation or information regarding this somewhere? It would be interesting to learn more about it.

 

Could you explain the DateTimeZone data type? The way I understand it, it gets converted to plain DateTime when it loads from Power Query into the Power BI semantic model. Does it basically just ignore the timezone component when loading from Power Query into Power BI?

 

About date. It is listed in the data type dropdown in Power BI.

https://learn.microsoft.com/en-us/power-bi/connect-data/media/desktop-data-types/pbiddatatypesindata...

 

Is this data type dropdown really just a formatting option, not an actual data type option?

 

I guess this video touches upon the same issue: https://youtu.be/SmczqYv_rfY?si=QuHnhBJzb4LIridk

 

And this article also: Power BI’s Pseudo-Time & Pseudo-Date Types | Ben Gribaudo

 

Does it depend on which data types we switch between? So choosing text in the data type dropdown would actually change the data type, whereas choosing date would just change the formatting of the datetime value?

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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