Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Data transfer from power apps to excel

(0) ShareShare
ReportReport
Posted on by 10

I have an app where I select data in the app to update an excel table. All of the fields are working except for the time field, I cannot figure out why but in my excel sheet the time is always 5 hours more than what I select within the app. Any Ideas on what it could be?

 

Time_code.PNG

Categories:
  • Colton_Hicks1 Profile Picture
    10 on at
    Re: Data transfer from power apps to excel

    In the UI I select the drop down number for the hour and for the minute. It is then put into this time function {Time(Value(HourValue.Selected.Value),Value(MinuteValue.Selected.Value),0}. Where the value of the dropdowns are selected for hour and minute. I have to include the value outside and the .value inside the parenthesis or it will not work. The data is then submitted through a submit form button that will update a table in an excel sheet. The Time is then put into a column formatted for time. I have tried to mess with the formatting within this column to not auto select the time zone, but the time in hours is always 5 hours ahead of every selected time. I have also tried to make the power apps code to be {(HourValue.Selected.Value-5) and that works but will then display an incorrect time in power apps. 

  • Michael E. Gernaey Profile Picture
    42,301 Super User 2025 Season 1 on at
    Re: Data transfer from power apps to excel

    Hi,

     

    Is this a Date value and ACTUAL date value or a string.

     

    If you are putting data in the excel as a DATE value, then its getting converted based on time zone.

    Please provide details/explain how you go from the drop downs to a Date / Time in excel.

     

    You are clearing doing something with the drop downs + excel if its turning into a Date Time which you say is not the same between the two. if its just a string then you are doing something wrong. If its a date time, then its an issue being converted from "whatever you have string/date" to a date time in Excel.

     

    Please provide details on how it works from UI to Excel and how it gets there and if the field in Excel is formatted as a date time.

  • Colton_Hicks1 Profile Picture
    10 on at
    Re: Data transfer from power apps to excel

    The other issue is that it is not a time that I am picking it is just 2 droop down menus one for hour value the other for minute value so I do not see how time zones could be affecting this. 

     

  • Colton_Hicks1 Profile Picture
    10 on at
    Re: Data transfer from power apps to excel

    The primary data is in excel and that data is being used to fill out the form that can then be edited to update the excel sheet. I will investigate the time zone thing thank you for the suggestion. 

  • Michael E. Gernaey Profile Picture
    42,301 Super User 2025 Season 1 on at
    Re: Data transfer from power apps to excel

    Hi,

     

    Is the primary data only in Excel or are you pointing to SharePoint or Dataverse?

     

    I am going to make an assumption that there is a difference between the TimeZone of the Power App Data(whether its SharePoint or Dataverse, based on settings) and the Machine(local or remote) TimeZone.

     

    As if one is UTC and one isn't.


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics