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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more

Reply
Anonymous
Not applicable

How to split column with Multiple information

Hi All,

 

I have a data source as an excel file which has a particular column having multiple information in it.

I want to split the column in different columns. However the challenge i am facing is that some rows in the column have coupon information and some do not. so when i split column with delimiter the row which does not have coupon information should return null instead of filling with VAT information. Can you suggest a workaround in M for this?

 

anirudhpillai79_0-1658308755533.png

 

1 ACCEPTED SOLUTION
HotChilli
Community Champion
Community Champion

If you add custom columns for each sub-field using Text.BetweenDelimiters to find the specific info, for example,  

Text.BetweenDelimiters([Total with vat], "Free Shipping", ";") that should do it.

View solution in original post

2 REPLIES 2
HotChilli
Community Champion
Community Champion

If you add custom columns for each sub-field using Text.BetweenDelimiters to find the specific info, for example,  

Text.BetweenDelimiters([Total with vat], "Free Shipping", ";") that should do it.

Anonymous
Not applicable

Thanks for the solution @HotChilli appreciate it 🙂

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.