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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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 Solution Authors
Top Kudoed Authors