cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joeyeamigh
Regular Visitor

Removing every value except for ones in another file

I am assuming that this is pretty simple, but I would like to remove every row in an excel file that does not contain values from another excel file. Photos are below. I am getting the rows using list row in table function, then I have a condition checking if date contains values from the date in another file. This works fine, but what happens is if the key value is set to date, it deletes everything except for the one thing I wanted it to, and when it arrives at that value, it fails. I want for this program to simply go through the spreadsheet and delete anything that does not contain one of the values in my second spreadsheet. Any help is appriciated. Thank you! Here is a photo of one of the failing values. It obvioulsy doesn't work but its just an idea. Thanks!Broken One with idea thxBroken One with idea thx

drawisland.pngScreenshot 2019-09-18 at 12.39.13 PM.png

4 REPLIES 4
v-litu-msft
Community Support
Community Support

Hi @joeyeamigh,

 

Please put the dynamic content "date" into the key value.Annotation 2019-09-19 105043.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-litu-msft Thank you for the reply. This does not work. I have tried it in both the yes and no column, and it still deletes literally everything in the excel file, no matter what date or time is in the list. Once it is done deleting everything in the table, it then says that the flow failed. Thank you! Photos below.

Annotation 2019-09-19 185349.pngAnnotation 2019-09-19 185049.png

 

Annotation 2019-09-19 185253.png

 

 

 

Hi @joeyeamigh,

 

I guess you are choosing an incorrect form in the delete row action. It is a Point Form.Annotation 2019-09-20 105616.png

 

I have reproduced your excel file, and the data field is Txt format. And it runs successfully.

Annotation 2019-09-20 104403.png

Annotation 2019-09-20 105330.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @joeyeamigh,

 

Has your problem been solved?

In your Flow, you need to put the small excel (three rows) in the external loop, put the big excel in the Inner loop.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,687)