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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
MarindaSteenkam
Regular Visitor

Token Eof expected Error

Good day

 

I am trying to create a Unique ID/Code per client based on a combination of ID or Registration and Client Name.

 

Please review the code used and kindly advise how to fix the Token Eof expected error. I have added a screenshot from the previous custom column that worked correctly. 

 

MarindaSteenkam_0-1718880826403.png

MarindaSteenkam_2-1718881093784.png

 

Kind regards

Marinda

1 ACCEPTED SOLUTION

Thank you for your response.

I was able to spot the error. There was a comma missing from the code. 

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@MarindaSteenkam , can you provide code in text format

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for your response.

I was able to spot the error. There was a comma missing from the code. 

Anonymous
Not applicable

Hi,@MarindaSteenkam 

We are glad that you have found a solution and are willing to share it, and accept your post for a solution, which is very helpful to our community, and community members who have the same problem as you will find a solution faster. Thank you for your contribution to the community and wish you all the best in your work.

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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