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
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
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.