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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
LeaRupnik
Helper III
Helper III

Power BI - PostgresSQL connection

Hello 

a have a one question. i have a problem with connect power bi with postgresSQL. 

ERROR : Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified    

 

I have a version of:

       -  npgsql - 4.1.1 ,

       -  Power Bi -  2.74.5619.862 64-bit (10.2019)    

 

Tnx Lea

1 REPLY 1
dax
Community Support
Community Support

Hi LeaRupnik,

This might be related to npgsql version, you could try to use previous version which might work. You could refer to connection to power bi (there are many suggestions for this similar problem) for details.

Best Regards,
Zoe Zhi

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

 

Helpful resources

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