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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Splitting Columns

Hello,

I am having a hard time trying to figure out how to split a certain column on a sales report that is sent to me every day.

The problem is that the data I receive shows for every transaction the quantity and description of each product bought, but the thing is that the products are not separated by a delimiter.

What I need is to be able to split into rows for each of the products of every transaction and also split the quantity into a column.

I have tried everything but I have been unsuccesful.

 

Here is a PBI example that shows the problem: https://1drv.ms/u/s!Amte2hTgUGZMmtA3qt--OYK3V76TAQ?e=spMICI 

 

What I have today:

 

Problem.png

 

What I need:

 

Transactions.png

Please help!!

 
 
 
1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Anonymous,

You need tonselect the column then go to transformation and split columns by delimeter. Select the option split in row and the by special character line break.
You will a row per line the select the split by delimeter again but select to columns and the character should be the X you have.

This shoul give expected result.


Check documentation.
https://support.office.com/en-us/article/split-a-column-of-text-power-query-5282d425-6dd0-46ca-95bf-8e0da9539662

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @Anonymous,

You need tonselect the column then go to transformation and split columns by delimeter. Select the option split in row and the by special character line break.
You will a row per line the select the split by delimeter again but select to columns and the character should be the X you have.

This shoul give expected result.


Check documentation.
https://support.office.com/en-us/article/split-a-column-of-text-power-query-5282d425-6dd0-46ca-95bf-8e0da9539662

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Wow! that was the perfect solution!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.