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 / Cannot Dynamically upd...
Power Automate
Unanswered

Cannot Dynamically update CDS number field from an Excel table when the excel column is a number

(0) ShareShare
ReportReport
Posted on by 264

HELP, I have been perplexing over this simple step in my FLOW and i need to make this work ..

 

1. i have a trigger :  When a file in created in SharePoint (the expected created file is an excel file)

2. Get Rows in Excel , then For each row in the Excel file  I  need to create a Record in Common Data Source Entity

3. All fields in the CDS entity are available in the Excel file (as i have used Export Template to Excel from the custom CDS entity)

4. For non-Numeric fields in my CDS entity, i can dynamically match them to the input Excel file's columns

5. However for NUMERIC fields in CDS entity, nothing shows up for me to choose for dynamically updating the CDS numeric field . (i.e. the Get Rows outputs is not even displayed ! )

 

Flow No matching format from Excel table to update CDS field.JPG

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @JenVitug,

     

    Could you please expand the "List rows present in a table" action within your flow?

    Do you use the "List rows present in table" action to retrieve rows from the new file created in your SharePoint library (use the "When a file is created in a folder" trigger to detect)?

    Further, could you please show a bit more about your Excel file?

     

    If you use the "List rows present in table" action to retrieve rows from the new file created in your SharePoint library (use the "When a file is created in a folder" trigger to detect), I afraid that there is no way to achieve your needs in Microsoft Flow currently.

     

    Specifying a file dynamically is not supported in the "List rows present in table" action of Excel Online (Business) connector, you could only specify the file through File Browser.

     

    I have made a test and the issue is confirmed on my side. If you could dynamically match Excel file's columns within the other non-Numeric fields of the "Create a new record" action, you could take a try with the following formula to reference the Number column in your Excel file:

     

    item()?['NumberColumnNameOfYourExcelFile']

     

    I have made a test on my side and please take a try with the following workaround:2.JPG

    Note: The Amount column is a Number type field in my CDS entity. on your side, you should type the following formula within the Number field (YTD Actuals field):

     

    int(item()?['YTD Actuals'])

    The value you get from your Excel table is text value, you should convert the text value into number value to match the Number field of your CDS Entity as above formula. 

     

     

     

    More details about using expression in flow actions, please check the following article:

    Use expression in flow actions

     

     

     

    Best regards,

    Kris

     

     

     

     

  • JenVitug Profile Picture
    264 on at

    @v-xida-msft  I will try your workaround to extract the number column from the excel Get Rows using your expression and get back to you . thanks in advance.

  • JenVitug Profile Picture
    264 on at

    hi @v-xida-msft,

    I have tried your recommended step to create expression to extract the excel numeric fields to update my CDS Entity numeric field

     

    It only worked for 1 column,  the rest of the excel numeric columns when used in the function  INT 

    example 

    Int(items('Apply_to_each')?['YTDActuals'])
     
    returns to me this runtime error : 
     InvalidTemplate. Unable to process template language expressions in action 'Create_a_new_record' inputs at line '1' and column '2353': 'The template language function 'INT' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.
    this is my excel file 
     
    i'd like to send you a sample row from my excel file:
     
     

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 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard