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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate incorre...
Power Automate
Unanswered

Power Automate incorrectly treating numerical column as date, not consistent!!

(1) ShareShare
ReportReport
Posted on by 37
I have a flow in Power Automate that connects to an Excel table in SharePoint. One of the fields returned is a Price field, which contains only numerical data to 2dp.
 
Earlier in the flow I use List rows present in a table to query the table, skipping the first 2,500 rows and using the Date Time parameter to choose ISO 8601 formatting.
 
When I use Select to choose the fields from the table, I specify float for my price column to ensure it is numerical.
 
However, I am encountering a weird error where List rows present in a table action is treating the Price column as an ISO date rather than a number, causing the action to break as it cannot convert to a float.
 
Weirdly, this does not happen consistently. I have double checked the source and there is only numerical data in the column. There are some rows (e.g. TradeDate) that I do want to treat as datetime so I do not want to remove the datetime format completely. Given this error isn't consistent, I'm struggling to work out why it happens.

Has anyone encountered this issue before or know why it is happening / how it consistently fix it? I've included below a screenshot of the Price field in excel, a screenshot of the Raw Output from the List rows action (confirming the date time format), and the Flow up to Select.
Categories:
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    In Excel what are the column type definitions?
    You should ensure that the columns are defined correctly,
  • HA-15041256-1 Profile Picture
    37 on at
     
    Thanks for the swift response. The column is defined as a number in excel and changing this doesn't seem to have made a difference.
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Not sure why it thinks it is a date but one approach would be to create a new calculated column in the excel table and convert the price to an integer by multiplying by 100 then dividing by 100 in the float to convert it back.
     
    Do you know which row in the sheet is being treated as a date?
  • HA-15041256-1 Profile Picture
    37 on at
    Hi Ronald,
     
    The price column is being treated as a Date in every row. It is the way that entire column is being treated that is inconsistent.
     
    For example, I have two scripts that are identical up to and including the List Rows action but they both report Price differently. See the images.
     
     
     
    I'll try the Calculated Column approach though
     
     
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at
    @HA-15041256-1 Have you tried switching to the Classic Designer? It might be an issue with the New Designer as it can still be buggy. I haven't seen this before. 
     
    In the meantime, you might be interested in these Power Automate + Excel YT tutorials.
     
    Hope this helps!

    Consider giving me a ❤️ if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    In the Excel sheet select the column and reformat as text then select it again and reformat as number and retest the flow,

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard