简体   繁体   中英

Read rows from a Excel worksheet in Logic App

I'm struggling with getting the rows present in an Excel worksheet in my Logic App. Even Google did not give me reasonable answers unfortunately.

I can get the Worksheet(s) with the "Get Worksheets" Action but I have problems with reading the rows from it. Currently I am using the "Excel Online (Business)" connector.

The excel will only contain one single Worksheet and no Table. Otherwise I could have used the "List Rows in a Table" Action but this scenario is actually not possible.

Could one give me some advice on how to read the rows from an Excel-Worksheet?

Any help is highly appreciated.

We must have a table established in our Excel file before using the Excel Online (Business) connections.

In order to add a table select all the concerned cells and navigate to Insert > Click Table. Now add the Table Name in List rows present in Table or Get a row connectors to retrieve the data.

  • Here are the screenshots for reference:

    在此处输入图片说明

  • The outputs of two connectors: 在此处输入图片说明

    在此处输入图片说明

  • Here are the sample Excel files that are used :

    sampleee.xlsx

    在此处输入图片说明

    duplicates.xlsx

    在此处输入图片说明

Since it is not possible to add a Table-Area in the excel prior the Logic App processing because of the way the Excel file is delivered I have solved the problem by explicitly adding a Table in the Logic App to the incoming Excel file and filter it in "Get Rows present in table" to get only the rows containing data.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM