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
Power Automate News & Announcements

Power Automate News & Announcements

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

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,723)