cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tyson
Frequent Visitor

Excel to Sharepoint list

Hi All,

 

I have a excel and a Sharepoint and would want sharepoint list to be updated based on the values of excel. I tried looking for online forums and article couldnt find any. I figured out how to update and create records but could not find out an approach to delete record. I would want to know how to delete a sharepoint list record if the record isnt present in the excel.

 

Any help would be appreciated!

 

Thanks

Tyson

1 REPLY 1
yashag2255
Dual Super User II
Dual Super User II

Hi @Tyson 

 

Can you share more details on the flow that you have built so far. 

 

As excel does not have a trigger for when a row is added or modified, you can do a recurrence/ manual trigger to list all the rows present in the excel table. Now as it is running on a recurrence assuming daily basis, you can add an action to get items from SharePoint and then add an OData filter query to show items that have created or modified as today. Now add an action to initialize variable of type array. Now check for the unique values to identify the row and see if it exists in the list returned from SP. If it does then do nothing, else delete that item. 

 

Hope this Helps!

 

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!

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,977)