Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am wondering if I am going mad here...? 🙂
Trying to create a calculated column using the CODE() function, but it doesn't seem to exist!
FirstCharCode = CODE(Family[GetString]) -- gives me an error - failed to resolve name 'CODE' and intellisense doesn't return it.
So I look it up at - https://docs.microsoft.com/en-us/dax/code-function-dax It has not been withdrawn - anyone got any thoughts on this? I am using March 2020 PBI Desktop version.
Thanks!
Solved! Go to Solution.
@Anonymous ,
Yes. It is not working. But you could try UNICODE()
https://docs.microsoft.com/en-us/dax/unicode-function-dax
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂
@Anonymous ,
Yes. It is not working. But you could try UNICODE()
https://docs.microsoft.com/en-us/dax/unicode-function-dax
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂
@nandukrishnavs - thanks.
Yes, I was just wondering why the function was still there. Perhaps for backwards compatibility or for another application using DAX.
I've posted on the DAX documentation page to get them to update the page in some way.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
10 | |
6 |