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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
Anonymous
Not applicable

@LouStagner,


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

Regards,
Lydia

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

Anonymous
Not applicable

@LouStagner,

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

1.PNG

Regards,
Lydia

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.

Anonymous
Not applicable

@LouStagner,

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

Regards,
Lydia

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors