Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Convert a Parse JSON result in Date

(0) ShareShare
ReportReport
Posted on by 497

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.

  • EmilioRoqueta69 Profile Picture
    497 on at
    Re: Convert a Parse JSON result in Date

    A straightforward solution!

  • Verified answer
    Expiscornovus Profile Picture
    31,732 Most Valuable Professional on at
    Re: Convert a Parse JSON result in Date

    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')

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >