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
Anonymous
Not applicable

How to Change how data is formatted?

Hi, I'm new to PowerBI so apologies if this is not at all possible. I'm trying to turn this: 

Anee_0-1669328196862.png

into this: 

Anee_1-1669328300408.png

Is it possible to do this in PowerQuery? I'm trying to create a resource planning bar chart similar to this, so if there's a measure I can use instead, I would appreciate that. Thank you!

Anee_2-1669328554814.png

 

 

 

1 ACCEPTED SOLUTION
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

Yes, this is possible with the unpivot column function:

 

Please do the following:

 

Start table:

Mikelytics_0-1669328869210.png

 

highlight the name column and click on unpivot other columns:

Mikelytics_1-1669328941206.png

in-between result

Mikelytics_2-1669328963951.png

no righ click an Attrbiute and use Replace value

Mikelytics_3-1669328986910.png

Mikelytics_4-1669329020944.png

 

Result

Mikelytics_5-1669329070671.png

Best regards

Michael

-----------------------------------------------------

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

@ me in replies or I'll lose your thread.

-----------------------------------------------------

LinkedIn

 

 

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

View solution in original post

1 REPLY 1
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

Yes, this is possible with the unpivot column function:

 

Please do the following:

 

Start table:

Mikelytics_0-1669328869210.png

 

highlight the name column and click on unpivot other columns:

Mikelytics_1-1669328941206.png

in-between result

Mikelytics_2-1669328963951.png

no righ click an Attrbiute and use Replace value

Mikelytics_3-1669328986910.png

Mikelytics_4-1669329020944.png

 

Result

Mikelytics_5-1669329070671.png

Best regards

Michael

-----------------------------------------------------

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

@ me in replies or I'll lose your thread.

-----------------------------------------------------

LinkedIn

 

 

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

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
Top Kudoed Authors