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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Stacking Multiple Columns in New Table

Hi! 
I'm kinda of new to PBI and DAX and have been trying to resolve a problem for a few days now, without result. 
I want to create a new Table where i'll stack multiple columns "on top" of eachother. Let me illustrate. 
What i got:

JensE_0-1644395674076.png


What i want:

JensE_1-1644395713570.png

 

I tried using SELECTCOLUMNS and UNION - but I fear that I lack enough knowledge to proceed any furhter. 
Do you have any soulutions i could try?

Thank you!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Unpivot in power query - other than date

Split by delimiter into column by _ . for the first column -> that will give, question, answer and comment in more column and number in another column

pivot again using column having question, answer and comment and value

 

https://radacad.com/pivot-and-unpivot-with-power-bi

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Unpivot in power query - other than date

Split by delimiter into column by _ . for the first column -> that will give, question, answer and comment in more column and number in another column

pivot again using column having question, answer and comment and value

 

https://radacad.com/pivot-and-unpivot-with-power-bi

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Fantastic - With your help I think i can solve the rest! 
Thank you @amitchandak ! 🙂 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors