cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sonhja
Helper I
Helper I

How to filter data from Excel rows

Hello.

 

I'm trying to loop through all rows in a table in Excel. After, I want to access cell value of this loop and check this value. But I'm not able to loop through the elements of the loop neither check the value cell. See my flow:

 

flow2.jpg

I tried to filter the values of 'Get rows' by comparing a column named "CERTIFICADO" if was not equals to "-". But all of them say "true". I also tried a Select  to filter only relevant columns. 

 

flow1.jpg

But I don't know how to loop all rows and get cell values to make any kind of operation with it.

 

Please, help!

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuazh-msft
Community Support
Community Support

Hi @Sonhja,

 

I have made a test on my side to create a excel table as below:

Capture.PNG

 

You could refer to screenshot below to create the flow:

Capture.PNG

 

The expression in the Filter Array as below:

 

@not(equals(item()?['CERTIFICADO'], '-'))

 

The expression of CERTIFICADO in the select as below:

item()?['CERTIFICADO']

 

The expression of CADUCA in the select as below:

item()?['CADUCA']

 

The flow would run successfully as below:

Capture.PNG

 

Best regards,

Alice

View solution in original post

4 REPLIES 4
v-yuazh-msft
Community Support
Community Support

Hi @Sonhja,

 

I have made a test on my side to create a excel table as below:

Capture.PNG

 

You could refer to screenshot below to create the flow:

Capture.PNG

 

The expression in the Filter Array as below:

 

@not(equals(item()?['CERTIFICADO'], '-'))

 

The expression of CERTIFICADO in the select as below:

item()?['CERTIFICADO']

 

The expression of CADUCA in the select as below:

item()?['CADUCA']

 

The flow would run successfully as below:

Capture.PNG

 

Best regards,

Alice

Thank you very much! That was soo helpful! 🙂

casueps
Regular Visitor

I don't see the "Get rows" option, is it Excel (OneDrive) or Excel (Business)?

its the lit rows( he edit to get rows) you can change the ame of an optiion with rename

 

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,653)