March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
So I was creating a new custom column, based on one I created in another source, and I took the original code into Word for easy finding/replacing of certain pieces to create the new one. When pasting it back into the prompt in Power BI, I noticed the pieces I replaced with quotation marks were pasted as what seems to be specific opening and closing quotation marks, different from the ones used in the formula editor. This is causing an 'invalid identifier' error to occur.
I tried copying one of the 'correct' quotation marks and using the find/replace to swap out the 'incorrect' ones but no luck. My curiousity is wondering if there's a reason for this but ultimately, is there a workaround for this? I couldn't find anything about this online...
Solved! Go to Solution.
The same thing happen for me in another case, in such situation when I write quotation it is different than normal one, so I press Ctrl+Z just after that and it is channged into the normal one, i think it is because of some setting in the word, specially for me which some time use language other than english
So because I made the changes in Word, when I paste the code into there I still run into the same issue. Here's what I'm seeing in the Advanced Editor. I can manually replace them, but we're talking tens of thousands at least haha. I should have provided a screenshot in the original post, sorry about that.
Thank you again everyone for your help! Sorry for closing this out late, but what I wound up doing to get around this is downloading Visual Studio Code as @dufoq3 mentioned then, maybe because it had the familiar color coding, had a much easier time finding and replacing the 'incorrect' quotations with the ones necessary for the Advanced Editor/DAX. I'll definitely be using that program in the future!
Definitely downloading now for future use. Thank you!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
12 | |
9 |
User | Count |
---|---|
36 | |
31 | |
20 | |
19 | |
17 |