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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate -Auto E...
Power Automate
Unanswered

Power Automate -Auto Export to Excel and Changing the DATE/TIME format from power BI Default " 2022-01-01T16:44:13.537Z to 1/1/2022."

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am working on automation processes that use the run flow button to export to Excel/ csv,

However, I am running into this error :

" Unable to process template language expressions in action 'Append To Array Variable' inputs at line '0' and column '0': 'In function 'parseDateTime', the value provided for date time string '000Z' was not valid. The datetime string must match ISO 8601 format.'. site:powerusers.microsoft.com"

 

my goal is to change the date format on the output from the default that Power BI "2022-01-01T16:44:13.537Z" has to the short date format 1/1/2022

 

This is one of my format expression

formatDateTime(parseDateTime(split(items('Apply_to_each')?[' Date'], '.')[1]), 'MM/dd/yyyy', 'en-US')
 
WHERE AM I DOING WRONG? 
Flow overviewFlow overviewapply to each controlapply to each controloutputoutput
 
 
 
Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @Anonymous ,

    You can achieve this simply using formatdatetime

    SudeepGhatakNZ_0-1693261664431.png

    SudeepGhatakNZ_1-1693261699209.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Does this come before or after the apply to each condition? Keeping in mind this has to happen on every row.

     

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Inside your loop

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Although the flow ran without any errors, It is still not giving me the desired outcome, the 2022-11-10T06:00:00.000Z date time formats are NOT converting to a short data time format.  datefomrat 5.PNGdateformat3.PNGdateformat6.PNGdateformat8.PNG

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard