cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LouStagner Frequent Visitor
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
Moderator v-yuezhe-msft
Moderator

Re: Help with Syntax Error

@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.
LouStagner Frequent Visitor
Frequent Visitor

Re: Help with Syntax Error

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

Moderator v-yuezhe-msft
Moderator

Re: Help with Syntax Error

@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.
LouStagner Frequent Visitor
Frequent Visitor

Re: Help with Syntax Error

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.

Moderator v-yuezhe-msft
Moderator

Re: Help with Syntax Error

@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
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors