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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-jayw-msft
Community Support
Community Support

Hi @rishi_hemwani ,

 

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

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

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

 

Thank you for your response.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors