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 August 31st. Request your voucher.

Reply
abalgir
Helper I
Helper I

How to load a csv from a remote host Power BI desktop

Hello,

 

I have a csv file saved on a Digital Ocean droplet. I need to load this csv in Power BI desktop to do some analysis.

 

How I can configure that in Power BI. I have the ssh right to the droplet set correctly.

 

Thank you

 

1 ACCEPTED SOLUTION
TeigeGao
Solution Sage
Solution Sage

Hi @abalgir ,

Based on my test, PowerBI desktop cannot support ssh directly, as a workaround, we can select one from the following methods:

Configuring FTP on remote server, PowerBI can use an FTP URL through the "From Web" connector.

Another workaround is using Python script to get csv file via ssh, then convert it to Pandas data frames, after that import PowerBI desktop.

Read a file from server with SSH using Python: https://stackoverflow.com/questions/1596963/read-a-file-from-server-with-ssh-using-python

(Note: This link contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.)

Run Python scripts in Power BI Desktop:https://docs.microsoft.com/en-us/power-bi/desktop-python-scripts

 

Best Regards,

Teige

View solution in original post

2 REPLIES 2
TeigeGao
Solution Sage
Solution Sage

Hi @abalgir ,

Based on my test, PowerBI desktop cannot support ssh directly, as a workaround, we can select one from the following methods:

Configuring FTP on remote server, PowerBI can use an FTP URL through the "From Web" connector.

Another workaround is using Python script to get csv file via ssh, then convert it to Pandas data frames, after that import PowerBI desktop.

Read a file from server with SSH using Python: https://stackoverflow.com/questions/1596963/read-a-file-from-server-with-ssh-using-python

(Note: This link contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.)

Run Python scripts in Power BI Desktop:https://docs.microsoft.com/en-us/power-bi/desktop-python-scripts

 

Best Regards,

Teige

Thank you,

I checked the Python script, it has limitations to :

Dataframe size

150,000 rows

 

My data is 100 millions rows and growing, and needs to be refreshed on a schedule. 

 

I also found out in a blog that Power BI does not support ftp  scheduled refresh method , which is a need for me 😞

 

I appreciate the help

Gerard

 

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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