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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
rishi_hemwani
Frequent Visitor

Write/ Append a data frame to a file on Shared drive using Power BI

Hi Everyone:

I am trying to write back the results from a selected measure in a csv / excel file stored in shared drive using Power BI. 

To ellaborate:

 

I have a R visual in Power BI where in the R script gets input parameters from the slicer.

These input parameters are variables to my forecast model written in R script.

The result from the model needs to be stored in the csv / excel file (storing the results in SQL server will also work)

The csv / excel file is sitting in a company shared folder.

 

Everything works fine, when I try to run the pbix on local machine. The main problem starts when I publish the Power BI service.

The Power BI service throws the error:

 cannot open file '\\server_name\folder_name\file_name.csv': No such file or directory

 

Please help me if there is anything wrong in the process or if there is any work around.

Thank you.

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @rishi_hemwani ,

 

Do we have an on-premised data gateway for this datasource?

 

Best Regards,

Jay

Yes, I have organization's on-premise data gateway.

 

Thank you for your response.

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
Top Kudoed Authors