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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
bradleyteoh
New Member

Couldn't load the data for this visual MdxScript(Model) (8, 40) Failed to resolve name 'SYNTAXERROR'

There is no issue when i view my charts in PowerBI desktop, however error happens in PowerBI service. It was working fine previously.

 

The error message:

MdxScript(Model) (8, 40) Failed to resolve name 'SYNTAXERROR'. It is not a valid table, variable, or function name.

 

bradleyteoh_0-1713495560413.png

 

1 ACCEPTED SOLUTION
bradleyteoh
New Member

It was my DAX measure syntax!
I used VAR FUNCTION which might get confused with actual function names in DAX. Just need to change VAR FUNCTION to some other name.

View solution in original post

1 REPLY 1
bradleyteoh
New Member

It was my DAX measure syntax!
I used VAR FUNCTION which might get confused with actual function names in DAX. Just need to change VAR FUNCTION to some other name.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors