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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors