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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
SIMMI
Frequent Visitor

Extract length information from text

Hi,

 

I have a column that basically stores large sentences as feedback. I wanted to extract the length information from the long text into a new column ('Length Extract'). The actual column is 'Comments' that contain length info.

 

I have created a column that takes words that end with 'm'.

 

SIMMI_0-1676654093806.png

 

Unfortunately I couldn't provide a list of values in the 'Text.StartsWith' function. Since I couldn't filter the text that starts with only numbers, I'm getting all words that end with m. I wanted to extract only words that start with numbers. 

 

SIMMI_1-1676653689002.png

Could somebody please help me to further filter this out?

 

Thanks in advance.

 

2 REPLIES 2
shrabedi
Frequent Visitor

Hi @SIMMI 
If data model size is not your problem.
You can use COLUMN FROM EXAMPLE and extract 1.5m and 100mm separately and combine columns afterward to get your result.

I have attached a picture for reference.
Column from Example.PNG
Mark as a solution if it's helpful
Regards

lbendlin
Super User
Super User

... and not List.Contains({"0".."9"},Text.Start(_,1))

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors