Announcements
No record found.
How to fix the error, unexpected token 'public' specified outside the scope of any class or model element in d35 x++
Hi, Its suggesting that public keyword is found in the file or code where it should not be. Please share where you are getting this error.
Also, check this article
www.daxrunbase.com/.../
Hi,
Probably you have added the public keyword without creating main method using runnable class.
Can you show us the screenshot of your code?
Thanks,
Girish S.
Closing bracket for the class should be on the last. You have added the method outside the opening and closing brackets of the class.
This bracket is the issue, add it in the end of the code.
M_R Please mark answer/s verified that helps and fix your issues.
If the answers don't work then let us know.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 512 Super User 2026 Season 1
Giorgio Bonacorsi 386
Adis 259 Super User 2026 Season 1