cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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! 🙂

Regular Visitor

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

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (46,387)