web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / concatenate date / time
Power Apps
Answered

concatenate date / time

(0) ShareShare
ReportReport
Posted on by 52

Hi. 

 

I have a spreadsheet with columns 'date of delivery' and 'time of delivery'.

 

I want to concatenate these two fields in the dataflow to produce one date/time field.

 

I appreciate that the fields have to be text to concatenate them. Can anyone provide me with a script to do this please?

 

Here's what I have : 

#"Added custom 2" = Table.AddColumn(#"Changed column type 1", "Custom"each Time.ToText([crf79_timeofdelivery]) & [Date of Delivery Attempt])
 
Expression.Error: We cannot apply operator & to types Text and Date.
Details
Operator = &
Left = 10:30
Right = 7/15/2020 12:00:00 AM

 

 

Categories:
  • Verified answer
    SwingeyP Profile Picture
    52 on at

    Sorted 🙂

     

    #"Added custom 2" = Table.AddColumn(#"Changed column type 1", "Custom", each Date.ToText([Date of Delivery Attempt]) &" "& Time.ToText([crf79_timeofdelivery])),

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard