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

Please Help with simple transformation.. I forgot what this is called

Hey all,

 

My client had a spreadsheet with Column A = department and column B = process name.. In column C, D, E, if that process (column B) had additional sub processes, they would be listing horizontally, next to its respective process name.

What I want to do is ONLY have column A and B, but everything in C, D, E I want to be bunched in with column B.

 

So if a process (column B) = “Accounts payable” & in Column A it says it belongs to finance, I want anything that’s next to “Accounts payable” (column c, d, and e) to be placed in column B marked as “Finance” for department, as if they’re all related and bunched together.

 

I know there’s an easy way to do this in the query editor / PQ. Can someone please connect the dots for me here? Or at least give me the word I need?

 

Seems like along the lines of pivot/unpivot/transpose family of transformation..

 

Sorry for this poorly explained request - If anyone can help, please reach out.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous 
You can just selected the columns =>right click =>select merge columns = change the column name to Finance.

Vpazhenmsft_0-1635817806732.png

 

Vpazhenmsft_1-1635817871751.png

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Anonymous 
You can just selected the columns =>right click =>select merge columns = change the column name to Finance.

Vpazhenmsft_0-1635817806732.png

 

Vpazhenmsft_1-1635817871751.png

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

ponnusamy
Solution Supplier
Solution Supplier
HotChilli
Super User
Super User

Are you trying to unpivot the other columns apart from the first two?

Some sample data and desired output would help.

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.