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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
remi
Advocate II
Advocate II

Return different sizes of stringed characters that is between a work with colon and enter

Hello all, hello @Greg_Deckler.

 

Trying to return data from a cell with many rows  of information, the information that I'm looking to extract is between:

 

(word: )  and enter (moved to the next row in the same cell - alt+enter), this information is not fixed in size, it can go from 10 characters to 29 or even more.

 

tried to use 

New Column = VAR Position = SEARCH ( "Yard", Table1[Column],, 0 ) - 3 RETURN TRIM ( MID ( Table1[Column], Position, 2 ) )

- but it dosent have an end so I can't adjust to the variable size.

Will it be possible to build a DAX to extract that? 

 

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @remi

Could you provide more detailed information, such as an example of the information and which value you want to get from the information.

 

 

Best Regards

Maggie

Hello @v-juanli-msft,

 

Thank you for getting back to me!

 

The information that I'm looking for is within a cell with multiple rows, and only one of that row contains the string of characters that needed to be returned in this exercise.

 

The data looks like this:

 

row

row

.

.

.

typology: Information that I want

row

row

row

 

 

so the delimiters should be "typology: " and "alt+enter" (or what character is used to represent the changing of the row), also the information wanted - Information that I want -  to be retrieved is not fixed in size, it's made of a different number of words and a different number of characters. What do you think can this be achieved? 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.