cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
brodosi
Frequent Visitor

Change value for all cells in a column?

I have an Excel file with a column "Status" and the status is set to Yes.  I need to automate any value set to yes, changed to no.  Any advice? 

 

This is what I used so far, however it only changes the value on the first row. 

 

Screen Shot 2021-04-07 at 11.38.38 AM.png

6 REPLIES 6
DamoBird365
Community Champion
Community Champion

Hi @brodosi 

 

With List rows, I would set a filter, where

 

Status eq 'Yes'

 

Then your apply to each should traverse through all "values" and update the row to No.

 

When you say it only updates 1 row, how have your built the apply to each and update row?

 

Does the get rows show more than one row in the output of the history?

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

NorthernChuck
Helper III
Helper III

NorthernChuck_0-1617810412130.png

Is the above a good example of the table your are working with? 

brodosi
Frequent Visitor

@NorthernChuck Yes, that it.  

 

Screen Shot 2021-04-07 at 11.52.29 AM.pngScreen Shot 2021-04-07 at 11.52.58 AM.pngScreen Shot 2021-04-07 at 11.52.49 AM.png

DamoBird365
Community Champion
Community Champion

Hi @brodosi 

 

I believe (but might be wrong) your filter query is wrong.

 

Should be 

Status eq 'Yes'

 

But also, your key column needs to be unique, i.e. 1,2,3,4,5,6  You cannot have multiple rows with the same key value as it will always find the first one and therefore only update ONE row.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

 

 

@brodosi - which error is it feeding? Looking at those screenshots that's basically where I was headed......

I'm pretty close, you can probably make due from here. The single ticks are apparently not needed. All cells marked "Yes" were updated to "Maybe'" in my spreadsheet (see below)

NorthernChuck_0-1617813022694.png

Here's the flow. 

NorthernChuck_1-1617813104738.png

 

NorthernChuck_2-1617813129415.png

 

 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

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.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,587)