cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gadgetgeek
Frequent Visitor

Power Automate Expression loses Dynamic Content fields

Just getting started in Power Automate and I need some help with Expressions. If you know of a good resource for understanding Expressions I would love to read that.

 

I've got a simple Power Automate flow I'm trying to create. The flow reads lines from an Excel table with the "List rows present in a table" step. I then added an Apply to each and selected the value from the Excel step.  All good so far.

 

I then am taking that value and creating a Dataverse table record with the "Create new record" step.  I feed in the Excel table columns by name and everything works great. Except my table column "Join Date", which requires a date-formatted value. The value from Excel is a date serial.

 

So, I removed the Dynamic content value, and click Expression. Looked for the formatDateTime, which shows when I type, but isn't in the list of functions. ??? Then try to reach back in the Dynamic content to grab the field, but the field has disappeared.  I'm confused. It happens if I choose any expression...the Dynamic content only shows Excel body and value, not the fields.

Power Automate loses excel column data with FormatDateTime.gif

1 ACCEPTED SOLUTION

Accepted Solutions
krootz
Solution Supplier
Solution Supplier

@Gadgetgeek if you dont see the dynamic content from the list, just hover above the "Join Date" and you will see the equivalent expression for that which you can type inside the formatdatetime()

View solution in original post

3 REPLIES 3
krootz
Solution Supplier
Solution Supplier

@Gadgetgeek if you dont see the dynamic content from the list, just hover above the "Join Date" and you will see the equivalent expression for that which you can type inside the formatdatetime()

Gadgetgeek
Frequent Visitor

I see. When I hover I see this:

 

items('Apply_to_each')?['Join Date']

 

Good start. Thanks!

Gadgetgeek
Frequent Visitor

"FormatDateTime" didn't work, but this did work. Thanks @krootz 

 

startOfDay(items('Apply_to_each')?['Join Date'])

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,337)