The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
Please let me know if I haven't explained this well enough.
Thanks, Rob
Solved! Go to Solution.
You may select Unpivot Columns in the Query Editor or use UNION Function in DAX.
You may use Stacked column chart from the Visualizations pane.
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).
Thanks, Rob
You may select Unpivot Columns in the Query Editor or use UNION Function in DAX.