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
Syndicate_Admin
Administrator
Administrator

Create new rows based on a region

Hello everyone.

I have a table that shows a list of video games, along with different sales columns depending on the region.

Captura de pantalla 2021-07-09 210617.jpg

where:

Ventas NA = NorthAmerica

VentasEU = Europe

VentasJP = Japan

Sales Other = Other places

It turns out I want to split each row in the table this way

For example the video game 1942, which has sales in NA, EU and JP, is separated into 3, where it shows the region where it was sold and how much I sell in that place.

I attach an example of what I'm looking for

Captura de pantalla 2021-07-09 210908.jpg

Thank you for your time.

1 ACCEPTED SOLUTION
AllisonKennedy
Super User
Super User

@Syndicate_Admin @marfernandezj 

 

You can acheive this by using the unpivot columns option in Power Query. From your first screenshot, click Home > Transform Data

 

Then find the correct table in Power Query that you want to transform.

 

Select the Ventas NA column, hold the Shift key on your keyboard, then Select the Ventas Global column. 

In the Transform tab in the ribbon, click Unpivot columns. 

 

That should give you what you're looking for. Then click Close & Apply.

 

Let us know if any other questions.

 

Thanks!


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Thank you very much, I served

AllisonKennedy
Super User
Super User

@Syndicate_Admin @marfernandezj 

 

You can acheive this by using the unpivot columns option in Power Query. From your first screenshot, click Home > Transform Data

 

Then find the correct table in Power Query that you want to transform.

 

Select the Ventas NA column, hold the Shift key on your keyboard, then Select the Ventas Global column. 

In the Transform tab in the ribbon, click Unpivot columns. 

 

That should give you what you're looking for. Then click Close & Apply.

 

Let us know if any other questions.

 

Thanks!


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

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.

Top Solution Authors