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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Anonymous
Not applicable

Variable skip by delimiter based on other column

Is there any way in Power Query to reference another column as the number of delimiters to skip?

 

...
#"Inserted Text Between Delimiters" = Table.AddColumn(#"Previous step", "Text Between Delimiters", each Text.BetweenDelimiters([COLUMN_TO_EXTRACT], "#(cr)", "#(cr)", ¿¿COLUMN REFERENCE??, 0), type text),
...

 

Variable skip delimiters.png

 

Best regards.

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Sure, just manually adjust the script after as per below.

 

image.png

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

2 REPLIES 2
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Sure, just manually adjust the script after as per below.

 

image.png

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Anonymous
Not applicable

I swear that was the first thing I wrote but got an error. Probably misspelled something. Thanks!

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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

Top Solution Authors