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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,269)