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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Convert a Parse JSON r...
Power Automate
Unanswered

Convert a Parse JSON result in Date

(0) ShareShare
ReportReport
Posted on by 565

Hi,

 

I am reading a CSV file in Sharepoint library, get the content and with it, add a row in a Dataverse table.
That works fine, but sometimes I get an error in the date fields.
So, I need to convert to date format the proper column of the CSV file.
But, when I added an step with formatDateTime, I can not add the result of the Parse JSON that contains the field of date.

I only can get the "Body" of the Parse JSON.

 

The column after the Parse JSON is "Nacimiento".

 

Nacimiento.png

 

ParseJSON.png

 

How can I solve this situation?

Thanks for any help.

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @EmilioRoqueta69,

     

    Can you try something like the below. Add this expression via the expression tab in your Compose action

    formatDateTime(item()['Nacimiento'], 'yyyy-MM-dd')

     

  • EmilioRoqueta69 Profile Picture
    565 on at

    A straightforward solution!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard