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
Hi. I've just started using PowerBI and am trying to create a Custom Column based on the value in another column.
The problem is that my functions names "are not recognized". See the example I tried in the formula bar that looks like this:
= Table.AddColumn(#"Removed Columns", "Name.1", each text.middle("hello world",6,5))
Even this creates an error "Expression.Error: The name 'text.contains' wasn't recognized. Make sure it's spelled correctly.".
Is it something wrong with my settings in PowerBI Desctop?
Solved! Go to Solution.
Hi,
M codes in power query are case sensitive.
Normaly first letter should be a capital letter.
ex. 'text.contains' is wrong it should be 'Text.Contains'
Thank you.
Hi,
M codes in power query are case sensitive.
Normaly first letter should be a capital letter.
ex. 'text.contains' is wrong it should be 'Text.Contains'
Thank you.
Thanks so much. A simple solution after 2 hours of struggle 😂
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 |
|---|---|
| 58 | |
| 45 | |
| 40 | |
| 21 | |
| 18 |