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
ajin
Helper II
Helper II

Dax

Hey Guy's,  Can anyone suggest what is wrong here. Novice on PBIInvalid token error.PNG

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

Hi there,
At a glance, the problem appears to be the curved, as opposed to straight, quotes. DAX syntax requires straight quotes, i.e. ' and "

Does changing all quotes to straight quotes fix the problem?

Regards,
Owen

Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
Twitter
LinkedIn

View solution in original post

2 REPLIES 2
OwenAuger
Super User
Super User

Hi there,
At a glance, the problem appears to be the curved, as opposed to straight, quotes. DAX syntax requires straight quotes, i.e. ' and "

Does changing all quotes to straight quotes fix the problem?

Regards,
Owen

Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
Twitter
LinkedIn

Hey Owen, 

 

Re-typed the whole dax and changed the quotes. It worked.

 

Thanks  🙂

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.