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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
bchager
Super User
Super User

Microsoft.Data.Mashup.Preview; Token ';' expected error

Hi everyone,

 

I'm working with a .pbip and am using Git integration for version control. Yesterday this error popped up. The details contain about 100 or so rows of information, none of which jumps out at as pointing me to exactly where the token ; is missing.

 

Has anyone successfully resolved the same error?

 

bchager_0-1759749464964.jpeg

 

1 ACCEPTED SOLUTION
marcelsmaglhaes
Super User
Super User

Hey  @bchager !

That's a strange error since M language doesn't actually use semicolons. This could be:

  1. Invalid character in your M script that the parser is misinterpreting
  2. Git merge conflict markers (<<<<<<<, =======, >>>>>>>) corrupting the syntax
  3. JSON corruption in the project structure

I'd suggest checking your definition.pbidataset file directly in a text editor - look for Git conflict markers or unusual characters. You could also compare it with your last working commit to see what changed.


If nothing obvious shows up, reverting to the previous working commit might be the quickest fix.


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



View solution in original post

2 REPLIES 2
marcelsmaglhaes
Super User
Super User

Hey  @bchager !

That's a strange error since M language doesn't actually use semicolons. This could be:

  1. Invalid character in your M script that the parser is misinterpreting
  2. Git merge conflict markers (<<<<<<<, =======, >>>>>>>) corrupting the syntax
  3. JSON corruption in the project structure

I'd suggest checking your definition.pbidataset file directly in a text editor - look for Git conflict markers or unusual characters. You could also compare it with your last working commit to see what changed.


If nothing obvious shows up, reverting to the previous working commit might be the quickest fix.


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



@marcelsmaglhaes Thanks for your reply. Stretched for time, I just reverted to a previous working commit.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.