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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
se2
Helper II
Helper II

export to postgres using R or python - need script? cannot type in board??

 
3 REPLIES 3
v-deddai1-msft
Community Support
Community Support

Hi @se2 ,

 

You can refer to Exporting Data from Power BI Desktop to SQL Server with R

 

As a workaround, you can export the data from power bi desktop by DAX studio to csv file : https://www.biinsight.com/exporting-data-from-power-bi-desktop-to-excel-and-csv-part-1-copy-paste-an...   and then load data from csv file to postgres: https://hakibenita.com/fast-load-data-python-postgresql

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

se2
Helper II
Helper II

Hi, I see that people are connecting power bi to postgresql, so that they can use power bi to query the data.  I would like to do the opposite, to to send a largish table (189,000 rows) from power bi to a postgreSQL table.  I thought using R or python might help.  Does any know how to do this?  Thanks, SE.

Anonymous
Not applicable

Hi @se2 : I havent done this before but found this resource online, Have a read of this:

https://www.thebiccountant.com/2015/12/28/how-to-export-data-from-power-bi-and-power-query/

 

It might be of some help. Please share if you able to achieve what you after.

 

Cheers,

-Namish B

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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