cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SPowers22
New Member

Condition ignoring Yes/No column

Hi All,

 

I've looked at solutions to similar problems that have been posted here and none of them have worked for my flow. 

 

I have a data set that includes historical and current data (project name, start date, end date). The current data is complete, however, the historical data is missing end dates. The data set is several hundred entries, so I'm building a flow to automatically fill in the missing end dates with today's date. The flow does this without an issue, however I do not want it to overwrite the entries that already have an accurate end date.

 

To do this I created a 'Known End Date?' column which is a Yes/No column and then told the flow to only change those entries where Known End Date = No and change the Known End Date to Yes. It doesn't work - the flow overwrites all of the dates, even those where Known End Date = Yes. This means the flow is not considering the 'Known End Date' column at all, or it is changing the entries to Yes before changing the dates.

 

Any ideas how this can be fixed? I've included screenshots of the data and the flow I have created.

 

 

Many ThanksFlowFlowBase DataBase DataOverwritten DataOverwritten Data

1 ACCEPTED SOLUTION

Accepted Solutions
annajhaveri
Community Champion
Community Champion

@SPowers22  in the condition provide the value True, from Dynamic Content -> Expressions

annajhaveri_0-1614084597317.png

 

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
annajhaveri
Community Champion
Community Champion

@SPowers22  in the condition provide the value True, from Dynamic Content -> Expressions

annajhaveri_0-1614084597317.png

 

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.
SPowers22
New Member

@annajhaveri Thanks for this. I'd tried all kinds of combinations of expressions that had been suggested on other threads but in the end the solution was really simple!

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,127)