Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
mickeal_Davis
Regular Visitor

subscription that writes to sharepoint location doesnt have option to replace existing file

I have a PowerBI Pagenated report subscription that writes the excel file to a sharepoint folder.

 

However, there iosnt an option to overwrite the file if it already exists.  Instead it adds a number to the filename so if i get a separate file each time the subscripotin runs.

 

I dont want to do this, I want to have onbe file that gets replaced when the subscription runs.

Is this supported?  Is there a work around so i dont end up with hundreds of files?

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You could run a flow that deletes or moves the file a couple minutes before the subscription is scheduled.

View solution in original post

3 REPLIES 3
mickeal_Davis
Regular Visitor

Thats a bit of a shame.  Makes it more complicated than it really needs to be.
Ill give that a go.

The old on-premise portal subcriptions did overwrite if you wanted. Shame its been tken away.

 

SaiTejaTalasila
Super User
Super User

Hi @mickeal_Davis ,

 

What ever @lbendlin mentioned is the easiest way.To delete the file you can use power automate .

You can refer this -

https://domliu37.medium.com/power-automate-how-to-delete-sharepoint-files-and-folder-97999ca14301

 

 

Thanks,

Sai Teja 

lbendlin
Super User
Super User

You could run a flow that deletes or moves the file a couple minutes before the subscription is scheduled.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.