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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
mondegren
New Member

Importing irregular group data?

I'm new Power BI and am trying to import data that is irregular.  Specifically:

Date | Order# | Attribute group where there are 3 attributes that can repeat 0 to many times (e.g. Color, Size, Quantity)

 

I'm trying to get the data so that it would fit into a structured table like:

Date | Order# | Color | Size | Quantity

 

For an example, if I have the following data:

 

6/27/17 | 00001 | Red, Large, 3

6/27/17 | 00002 | Blue, Medium, 2 | Yellow, Medium, 4 | Green, Small, 1

 

I'm trying to transform it to:

Date | Order# | Color | Size | Quantity

6/27/17 | 00001 | Red | Large | 3

6/27/17 | 00002 | Blue | Medium | 2

6/27/17 | 00002 | Yellow | Medium | 4

6/27/17 | 00002 | Green | Small | 1

 

I've seen various posts and tried to un-pivot the data, but that doesn't seem to work.  Any thoughts on what I need to do?

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@mondegren

 

Hi, please follow the steps in the image below

 

Split.gif

 

Regards

 

Victor

Lima - Peru




Lima - Peru

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

@mondegren

 

Hi, please follow the steps in the image below

 

Split.gif

 

Regards

 

Victor

Lima - Peru




Lima - Peru

Thanks @Vvelarde!! This works great!

 

I had been splitting the grouped data first and then trying to un-pivot.  The trick is to unpivot the GROUPED data, and THEN split the grouped data into the regular columns.

 

Thanks again!

Mondegren

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.