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 Automate / Column changes format ...
Power Automate
Answered

Column changes format after power automate process

(0) ShareShare
ReportReport
Posted on by 128

Hello guys,

 

Who amongst you know this problem?

I just want to copy the column with a date and time in it. I did not do anything, but when I processed it in power automate. The data changes its format.

 

This is my raw file.

 

Amirin_2-1691521191797.png

 

 

This is my dumping file. the first 2 rows is originally there, that is the result i need. 

Amirin_0-1691521351977.png

 

 

This is my flow with a perfect result. but when put in dumping file. it changes. 

Amirin_2-1691521394020.png

 

 

Categories:
I have the same question (0)
  • jbishop Profile Picture
    65 on at

    This can often be an issue of Excel, my guess is that Excel seeing the values in Rows 4-7 as dates and Rows 2 and 3 as Text. Which means that the formatting is being automatically converted to the standard Excel Dates Format once a new row is added.

     

    Try Selecting all of Row A and setting the Cell Format To General rather than Date, and I believe that should fix it.

     

    Please let me know if that solves your issue,

     

    Cheers,

    jbishop

  • Amirin Profile Picture
    128 on at

    Hi.. thank you for your suggestion.. I did what you said.

     

    But sadly, it did not do anything. The column switches automatically from GENERAL to CUSTOM after automated. 

     

  • Verified answer
    jbishop Profile Picture
    65 on at

    Ohhh I mistook what happened the first time.

     

    So your flow is putting the Date value into Excel as a Date Value, meaning it will default to the mm/dd/yyyy hh/mm format since that is the standard format for All Dates. So, from what it looks like, you are getting the data you are looking for, just not in the correct format.

     

    Since you want your data in a format besides what Excel will default Dates to, here are the steps you can take to set your own custom format for Excel

     

    1. If you are in Desktop for the Web/Teams, Open Excel in Desktop (This can be done by clicking the Dropdown with Editing in it near the top right, and selecting 'Opex Excel In Desktop')

    2. Select The Entire Column You want a Custom Format in

    3. Click on the Data Type Dropdown (The Dropdown where it says 'Custom' on the 'Home' Tab).

    4. Select The 'More Number Formats' Option.

    5. Select Custom in the 'Category' Section of the 'Number' Tab.

    6. Right Below where it says 'Type:' Insert the Code 'yyyy-mm-dd hh:mm:ss' (View Picture Below for Step 5/6)

    jbishop_1-1691523607834.png

     

     

     

    This should set the values to the format you are looking for.

    If you have any further issues, please let me know

     

    Cheers,

    jbishop

     

     

     

  • wskinnermctc Profile Picture
    6,519 Moderator on at

    @Amirin in your "Add a row into a table" screenshot it shows the date as

     

    "date": "2023/07/29 06:55:10"

     

    So the format "yyyy/MM/dd hh:mm:ss"

     

    When is this date getting formatted into "yyyy/MM/dd hh:mm:ss" in your flow? Are you putting it into that format with an expression or date step?

     

    Most dates are going to appear in a flow in the format "yyyy-MM-ddThh:mm:ss" by default.

    So how is it getting changed into "yyyy/MM/dd hh:mm:ss"?

     

  • Amirin Profile Picture
    128 on at

    Hi..

     

    I accept your answer as solution..

    It does solved the problem, but it does not work on online excel or excel 365 because online excel does not allow entering your own custom date.

    What I did was download the online excel and inputted the custom date. and reupload again to sharepoint.

     

  • jbishop Profile Picture
    65 on at

    Glad to hear you found a solution to your issue.

     

    Happy to help!

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard