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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Mp3Robbo
New Member

How to stack one column above of the other

Hi all

 

I'm wondering if there is a way to stack one column above the other in Power BI?

 

I hope the below graphic explains what I am trying to do. As can be seen the created column has twice as many rows as the columns from the original table.

 

Help.png

Please let me know if I haven't explained this well enough.

 

Thanks, Rob

1 ACCEPTED SOLUTION

@Mp3Robbo,

 

You may select Unpivot Columns in the Query Editor or use UNION Function in DAX.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Mp3Robbo,

 

You may use Stacked column chart from the Visualizations pane.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-chuncz-msft

 

I guess I didn't explain well enough, sorry about that, perhaps the colours made it a bit confusing.

 

What I'm trying to do is what I have drawn below (using DAX or whatever).

 

Help V2.png

 

Thanks, Rob

@Mp3Robbo,

 

You may select Unpivot Columns in the Query Editor or use UNION Function in DAX.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.