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
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,480)