cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
StephenF
Super User
Super User

Expression.Error: The name 'Text.Left' wasn't recognized. Make sure it's spelled correctly.

This is from the custom column editor and it says this syntax is fine.

 

Syntax

 

if ((Text.Left([BRN],3) ="RNN") and Text.Contains([Programme Name]," 2019-")) then 1 else 0

 

Yet this cause an error on save.

 

Is this a bug?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

As far as I know there is no Text.Left in Power Query. Try Text.Start instead: https://docs.microsoft.com/en-us/powerquery-m/text-start

View solution in original post

3 REPLIES 3
sivapandi
Helper I
Helper I

NewColumn = if(LEFT(StudentMarks[Student],1)="j",1,0)

Hai.,

Use like above format

Anonymous
Not applicable

As far as I know there is no Text.Left in Power Query. Try Text.Start instead: https://docs.microsoft.com/en-us/powerquery-m/text-start

Its obviously a bug that the custom column window says Text.Left is ok so.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors