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 / Excel as database and ...
Power Automate
Unanswered

Excel as database and not getting date and time as output

(0) ShareShare
ReportReport
Posted on by 4

Hello I am using power automate desktop,
Where i am treating excel as database, and using sql statement to get the data and time from excel to data table variable.
I have a column in excel which is in date format and time in general format.

Jprajapati1022_1-1687189614448.png

I am using sql statement as:

Jprajapati1022_2-1687189685876.png

 

and the output i am getting in data table variable is:

The date and total Attn column is coming blank.

 

Jprajapati1022_0-1687189855967.png

 


 

I have the same question (0)
  • Jprajapati1022 Profile Picture
    4 on at

    Can anyone help please

  • ThomasFonn Profile Picture
    273 on at

    Hi @Jprajapati1022 

     

    Here are a few things I need you to either clarify or try to alter to verify if the behavior stays the same:

    1. Are these values stored as formulas or as normal values?
    2. Are you sure there aren't any hidden whitespaces in column headers in Excel?
      (for example: "Total Attn " instead of "Total attn")
    3. I'm not sure about this but, the name "Date" may be reserved in that SQL-dialect and you may need to indicate somehow that its the verbatim version of "Date" you want, and not the type
      You may have to use double brackets [[Date]] or back quotes [`Date`] to do this, i'm not sure.

     

    If any of these works, please comment to let us know which one

     

    Best Regards
    Thomas Fonn

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard