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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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 Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,351)