Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi
When we Refresh the data in power bi desktop. it is showing below error:
"could not load file or assembly 'system.runtime.compilerservice.unsafe" . The system file cannot be opened.
Hi @Anonymous,
Please test in a new .pbix file, check if there is any error when creating connection to the same PostgreSQL DB.
Regards,
Yuliana Gu
Hi
Thanks to reply,
I test in new pbix file , even though it is showing same error
when connecting postgresql with power bi it self showing error
Hi @Anonymous,
Maybe this error is more related to your client environment. Please try to downgraded Npgsql to an older version for a test, such as 3.2.7.
Regards,
Yuliana Gu
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 18 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 53 | |
| 47 | |
| 40 | |
| 38 |