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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
PriscilaOTito
New Member

Postgre SQL x Power BI - System.Runtime.CompilerServices.Unsafe

Não consigo mais conectar dados a vindos de banco PostgreSQL. Vide abaixo o erro que recebo:

pbi.jpeg

6 REPLIES 6
zefgzeerzgzergz
Regular Visitor
Anonymous
Not applicable

Hi @PriscilaOTito ,

 

Here are some general steps you can take to try to resolve the issue:

1. Check that the Npgsql provider is installed and updated.

2. Check connection settings: Ensure that the server and database information provided is correct and that the PostgreSQL instance allows Power BI to connect.

3. Check Firewall and Network Settings: If PostgreSQL is hosted in an environment other than Azure, ensure that the database is configured to allow Internet connections and that no firewalls are blocking connections.

 

Best Regards,

Neeko Tang

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

Olá! Ainda não foi resolvido o problema.

Testei todos os itens e nada funcionou. 
Testei inclusive a conexão em outra rede e conectou normalmente. 
Atualizei meu Power BI para ficar na mesma versão do que conseguimos conectar em outra rede mas nada funcionou. Se tiver alguma outra sugestão ficarei grata.

 

Att, 

Anonymous
Not applicable

Hi @PriscilaOTito ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please feel free to let me know.

 

Best Regards,

Neeko Tang

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

Olá! Ainda não foi resolvido o problema

Creio que seja alguma particularidade da máquina que estou usando, pois tentei conectar em outras máquinas  e conecta normalmente. 

Obrigada pelo apoio!

Anonymous
Not applicable

Hi @PriscilaOTito ,

 

I found two similar posts, can you refer to them to see if the solution applies to you?

An error happened while reading data from the prov... - Microsoft Fabric Community

Can't connect to posgresql databases - Microsoft Fabric Community

 

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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