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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
superspost
New Member

+Aggregated data in column - how to deal with it

Dear all, thanks for entertaining my question - novice here. I am importing a "orders" table from a web api (woocommerce) and when wanting to select the relevant data in power query, i am presented with one column (see picture 1) that has some critical data about products that were purchased in a single column. See picture 2 for a detailed view of how what the cell content looks like.

 

How can i go about this data? I would like to have column per product for quantity and price each. There is a total of 8 products i think.

 

Any pointer for a how to approach this manipulation challenge are highly apprechiated.

 

 

superspost_0-1644172855130.png

superspost_1-1644173143091.png

 

 

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @superspost ,

According to your sample, all attributes of one product are separated by commas, you can split them in Power Query.

Here's my solution.

This is my sample data.

vkalyjmsft_0-1644570750519.png

1.Select the column, then click Split Column tab under Transform ribbon, select By Delimiter.

vkalyjmsft_1-1644570777199.png

Select Comma in the delimiter box.

vkalyjmsft_2-1644570852253.png

Rename the column name, get this table.

vkalyjmsft_4-1644571080592.png

2.For Quantity and  Price column, if you only want to show the number, select the column, click Extract tab under Transform ribbon, select Text After Delimiter.

vkalyjmsft_5-1644571141810.png

Enter a colon in the Delimiter box.

vkalyjmsft_6-1644571265799.png

 

Get this table.

vkalyjmsft_7-1644571410213.png

3.For other columns, if you don't want to show them in seperate column, you can also select Merge Columns.

vkalyjmsft_8-1644571562753.png

vkalyjmsft_9-1644571625091.png

Get the result.

vkalyjmsft_10-1644571651132.png

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

@v-yanjiang-msft ,

 

The result input data you present is not in the same format has the sample given in the images so this will create some addtional steps that will cause more problems for the transformation.

 

That's why I asked for a sample data because of the small things like the line breaks the parenteses and all of that needt to be adress befor making use of an option like yours.


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



MFelix
Super User
Super User

Hi @superspost ,

 

In this case you need to use the split by delimitor option and some other options that will allow you to make the transformation.

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


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



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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