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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors