Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

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?

  • 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

1 Reply

  • 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