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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Prevent file deletion

I have a report the connects to csv files in a shared server folder. Any time someone deletes or renames the source csv files, the report refresh fails. I need a way to prevent the others from deleting these source files.
From the server, we can set permission for the csv files.
But is there a way from power BI we can prevent the deletion?

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @Anonymous , 

 

Power BI imports data from the csv file, so you'll have a copy of the data that is in the csv in the power bi. so if deleted or changed the path, the report will work but will not refresh.

 

You can't prevent file deletion from Power BI, there is no such way to do this in Power BI.

 

check this video to dynamically change path in Power BI https://youtu.be/LHNVkiGlUbE

 

If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

1 REPLY 1
Idrissshatila
Super User
Super User

Hello @Anonymous , 

 

Power BI imports data from the csv file, so you'll have a copy of the data that is in the csv in the power bi. so if deleted or changed the path, the report will work but will not refresh.

 

You can't prevent file deletion from Power BI, there is no such way to do this in Power BI.

 

check this video to dynamically change path in Power BI https://youtu.be/LHNVkiGlUbE

 

If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors