Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
In trying to add a custom column in the query editor, an error is displayed.
"Expression.Error: We cannot apply field access to the type Function.
Details:
Value=[Function]
Key=Repairing Dealer - Country Description"
It would be nice to get a suggestion solution, and if possible a short explanation why the error happens. Have read another thread and creating a variable seemed to resolve the error.
My formula is looking for two specific customer names, and replaces them with other names, and for all other rows, the column value is to be adjusted into all-lower case.
if[#"CustomerName"] = "Charles" then "Charles Germany"
else if[#"CustomerName"] = "Nick" then "Nick UK"
else
Text.Lower[#"CustomerName"]
Thanks,
Solved! Go to Solution.
You need brackets
Text.Lower([#"CustomerName"])
I had the same error message when I forgot an "&" between two text fields I was appending.
E.g., [Company] & " (" [Address]
Which needs to be [Company] & " " & [Address]
So it was that simple after all, thanks a lot, all of a sudden this day seems much better. 🙂
Any one knows why paranthesis are needed for the text.lower-statement, while it is not needed for the if-statement?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |