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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sa100
Helper I
Helper I

Split Table-automation

I am new to Power BI. I want to run a power query on excel spreadsheet to create tables based on distinct rows in one column. For example, the following spreadsheet

 

Product

Order type

price

Total Amount

Bike

Buy

10

10

Bike

Buy

20

20

Bike

Sell

10

10

Car

Buy

10

10

Car

Sell

100

100

Truck

Sell

100

100

 

I like to split above table to have three tables Bike (three rows), Car (two rows) and Truck (one row). All new tables should have all the four columns.

I want this system to be automated. For example, if a new product is added to original table, it should create a new child table.

1 ACCEPTED SOLUTION

@sa100 https://youtu.be/T1q3BF5_YJ8
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! 

View solution in original post

3 REPLIES 3
Mahesh0016
Super User
Super User

Hello @sa100 ,
Good morning

see this video i hope is helpful....

Many Thanks @Mahesh0016 

That is a great video and it worked

I am going to be little bit greedy. Is it theoretically possible to put a variable that stores all the distinct value in "Product" column and create a loop in the function and then with just one click creates all the tables.  if yes then next is how to do that.

@sa100 https://youtu.be/T1q3BF5_YJ8
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.