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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

Column in PowerBI Integration Showing as Date not DateTime

Hello Everyone, 

 

I have a subtle problem where I am trying to pass a datetime object from my Oracle database in PowerBI into a PowerApp. The issue is that when I do so, the column is being converted into a Date object instead of the DateTime datatype. This is causing the time to get truncated when I attempt to put the object into a label of a gallery. 

 

# Proof the field is Date/Time in PBI

 

DakotaPerryman_5-1625083867951.png

 

 

 

#Showing the timestamp of the column in a PBI Table

 

DakotaPerryman_6-1625083879330.png

 

 

 

# Showing the datatype of the field in PowerApp (I think this needs to be DateTime)

 

DakotaPerryman_7-1625083891563.png

 

 

 

# Formula for the TEMP_TS column in the gallery (Also tried DateTimeValue formatting and using ThisItem.TEMP_TS)

 

DakotaPerryman_8-1625083904183.png

 

 

 

# Proof the time is getting truncated

 

DakotaPerryman_9-1625083913163.png

 

 

 

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

https://powerbi.microsoft.com/en-us/blog/best-practice-rules-to-improve-your-models-performance/

 

aj1973_0-1625145523601.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

3 REPLIES 3
aj1973
Community Champion
Community Champion

Hi @Anonymous 

Not sure if this could help but the best practise in Power Query/Power Bi is to separate/split Datetime column into 2 columns Date and Time. 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Anonymous
Not applicable

Will implement this today and let you know of the results. Do you have any resources that indicate this is the best practice? Interested to learn more. Thank you. 

aj1973
Community Champion
Community Champion

https://powerbi.microsoft.com/en-us/blog/best-practice-rules-to-improve-your-models-performance/

 

aj1973_0-1625145523601.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors