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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
LouStagner
Frequent Visitor

Help with Syntax Error

When trying to select the relationship icon to edit relationships power bi crashes and shuts down and I receive the error message below. This is a simple model that is consuming a few csv files that are on my local machine. 


     Unable to find an entry point named 'MilUtility_PathGeometryHmtTest' in DLL 'wpfgfx_v0400.dll'

 

 

What is odd is that I can open the relationship window and look at the tables and their relationships, but as soon as I move the mouse, Power BI desktop crashes and I get that error message. I just tried it again and I also received this message as well:

 

     Could not find a PackageSession for the given sessionID.

 

I am on a windows 10 machine (64 bit) and have the latest version of PBI desktop installed. 

 

Any thoughts? 

 

 

 

5 REPLIES 5
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@LouStagner,


Does this issue occur in all PBIX file? Have you uninstalled and re-installed Power BI Desktop?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

It was not occurring in all PBIX files, only this one. I did uninstall and reinstall but that did not fix the issue. 

 

What did seem to work (so far) was the following:

 

  • I clicked on the "Manage relationships" button on the modeling tab
  • I deleted all of the automatic relationships that were created
  • I re-created the relationships
  • I have not had an issue since doing that

 

At some point, I am going to try and recreate the issue by starting from scratch and following the steps I originally took and seeing if that causes the same issue...

@LouStagner,

When importing your CSV files, you can disable the following options.

1.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks Lydia for the suggestion. 

 

I will make sure auto-detect relationships it is turned off but I feel like Power BI could handle things better than simply crashing and shutting down.

@LouStagner,

Could  you please share the CSV file for us to test?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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.