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 / Transfer data with bla...
Power Automate
Answered

Transfer data with blank cells from excel to sharepoint list

(0) ShareShare
ReportReport
Posted on by 106
Hi, can anyone help me solve this problem?
I want to transfer data from Excel to a SharePoint list.
Some cells in my Excel file are blank, and all the blank cells are in the number columns.  And the data type of these columns are general.
The corresponding column’s datatypes in the SharePoint list are Number.

However, the flow only works if I change all the blank cells to 0.

Categories:
I have the same question (0)
  • Suggested answer
    Tomac Profile Picture
    4,079 Moderator on at
    Have you tried the coalesce() function to update the cell values to your source data or blank of the source data is null?
     
    coalesce(outputs('List_rows')?['YourField'],'')
     
  • KS-29050310-0 Profile Picture
    106 on at
    @Tomac
    Thank you for your comment, and nice to meet you again!
    I tried ↓ , it failed. The errors are the same. The column data type is general,  but there are only numbers in the column.
    coalesce(items('For_each')?['column name in japanese'],0)
    coalesce(items('For_each')?['column name in japanese'],'')

    OpenApiOperationParameterTypeConversionFailed
    The 'inputs.parameters' of workflow operation 'create items' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/field_20' is required to be of type 'Number/double'. The runtime value '""' to be converted doesn't have the expected format 'Number/double'.
  • Verified answer
    Chriddle Profile Picture
    8,686 Super User 2026 Season 1 on at
    Try this:
    if(
    	isFloat(string(items('For_each')?['column name in japanese'])),
    	float(items('For_each')?['column name in japanese']),
    	0
    )
     
  • KS-29050310-0 Profile Picture
    106 on at
    Thank you very much.
    I tried the expression you offered.
    It worked much better until the row 275.
    I checked the data in row 275.
    nothing different with other rows.
    0,blank cell ,decimal,integer.
     
    here is the error in create items action.

    InvalidTemplate. Unable to process template language expressions in action 'create items' inputs at line '0' and column '0': 'The template language function 'float' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.
  • Chriddle Profile Picture
    8,686 Super User 2026 Season 1 on at
    Can you show me the output of this value?
  • KS-29050310-0 Profile Picture
    106 on at


    Thank you. Due to the error which I shared with you, there was no output for these two rows.
    Instead of output below is the source data. Due to privacy concerns, I can only show you the numbers.

    row279
    0 0 332850 0 0 0 0 0 37039 369889 688182 688182 403175 0 0 0 0 0 35000 438175 688182 688182 385600 0 0 0 0 0 35000 420600   0.363286166 0.388824468 99   9   9   0

    row 274
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4411000 4411000 2644800 0 0 0 0 0 0 2644800     0.400408071 99   9   9   0
  • Chriddle Profile Picture
    8,686 Super User 2026 Season 1 on at
    I need to see the value returned by this: items('For_each')?['column name in japanese'] in row 279 or 274.
  • KS-29050310-0 Profile Picture
    106 on at
     
    Yes, all of these numbers are what you want.
    Much more than 1 column.
  • Chriddle Profile Picture
    8,686 Super User 2026 Season 1 on at
    This doesn't help me figure out what's going wrong.
    Can you add a Compose to the loop with the expression from below and display its output at loop iterations 274 and 279?
  • KS-29050310-0 Profile Picture
    106 on at
    @Chriddle
    Thank you for your help!
    I just realized that it was actually a mistake on my colleague’s part. There was a small space in some of the column names, which I hadn’t noticed before. Once I deleted the spaces, the error was resolved. And the expression you offered works very well.

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 796

#2
Valantis Profile Picture

Valantis 671

#3
Haque Profile Picture

Haque 551

Last 30 days Overall leaderboard