Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
JZhang74
Regular Visitor

Use Text.Length to extract certain length of the text string

Hi all,

 

Can I have help on this one. So I'm try to extract certain lenght text string based on the length of the text string in column and minus certain lengh. Example like this:

= Table.TransformColumns(#"Added Custom", {{"Description1", each Text.Start(_, Text.Length([Description1])), type text}})

 But I'm getting error like this:

JZhang74_0-1677029896443.png

Can anyone shed any light on this please. Thanks in advance.

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

= Table.TransformColumns(#"Added Custom", {{"Description1", each Text.Start(_, Text.Length(_)), type text}})

View solution in original post

4 REPLIES 4
wdx223_Daniel
Super User
Super User

= Table.TransformColumns(#"Added Custom", {{"Description1", each Text.Start(_, Text.Length(_)), type text}})

Interestingly, use "_" to refre to the column name, is that documented somewhere?

Great! That works, thanks so much.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors