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

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

Accepted Solutions
MoOv Regular Visitor
Regular Visitor

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

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

3 REPLIES 3
MoOv Regular Visitor
Regular Visitor

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

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

sivapandi Frequent Visitor
Frequent Visitor

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

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

Hai.,

Use like above format

StephenF Member
Member

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

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

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 30 members 847 guests
Please welcome our newest community members: