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

3 REPLIES 3
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

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)?

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,886)