web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Delete empty rows in e...
Power Automate
Unanswered

Delete empty rows in excel (excel online connector)

(0) ShareShare
ReportReport
Posted on by 181

Hi,

 

I have created a flow to copy current month's data from SharePoint list to Excel saved in OneDrive for business using Excel Online connector and send the file as an email attachment.

 

Everything works except for deleting empty rows from excel file. I can filter the empty rows from the excel table. However havent been able to figure out the "key Value" for the "Delete row" action. Can someone help me with this please?

 

Thanks,

Sunitha

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @sunithav 

     

    Please see this post

     

    https://powerusers.microsoft.com/t5/Building-Flows/Deleting-Blank-Rows-from-Excel-with-a-Flow/td-p/334510

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

     

    Thanks

  • CU20081036-0 Profile Picture
    181 on at

    Abm,

     

    Thanks for the link. Have seen the article. It talks about filtering the empty rows from excel. However deleting those rows from excel still remains unanswered. 

     

    Thanks,

    SV

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi,

     

    I am not sure you can you delete an empty row without a value? In my knowledge it is not possible.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

     

    Thanks

  • v-litu-msft Profile Picture
    on at

    Hi @sunithav,

     

    It is impossible to delete the row in which every column is blank because when Flow perform delete a row action could not find the key value of the key column, it like delete an item in a SharePoint list should get Item ID, it has no ID of the row, so it can be deleted.

    As a workaround, you can create a new table (call it table 2) with the same columns as the original table (I call it table 1).Annotation 2019-09-27 162910.png

     

    Table 1 - table need to process:

    Annotation 2019-09-27 162049.png

     

    Table 2 - run result:Annotation 2019-09-27 162057.png

    After process you can delete the table or keep it just you like, I hope it can help you.Annotation 2019-09-27 162955.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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard