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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
NQT1711
Frequent Visitor

How to create a stacked column table from many different columns

Hi everyone,

I have the following All_reviews table:

NQT1711_0-1712050151383.png

How can I create a table like the image below from the All_reviews table?

NQT1711_1-1712050286111.png

Thank you and I loof forward to your support.

 

3 REPLIES 3
Anonymous
Not applicable

Hi, @NQT1711 

Depending on the data structure, the data may need to be transformed to ensure that it is formatted appropriately for visualization. This may involve grouping, summarizing, or pivoting the data, customizing the appearance and settings of the chart through panes to match the desired results. You can adjust colors, labels, titles, and more to improve readability and impact. For more details on creating and customizing column charts in Power BI, see the official documentation:

Column charts in Power BI paginated report - Power BI | Microsoft Learn

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

Khushidesai0109
Super User
Super User

@NQT1711 Can you please provide an image for reference?

Proud to be a Super User!!
kriscoupe
Solution Supplier
Solution Supplier

Hi @NQT1711 ,

 

Using some data prep in Power Query (or in the backend if you have access) you could achieve this by UNPIVOTING the columns you need on the x-axis. Here is a reference on how to achieve this. https://learn.microsoft.com/en-us/power-query/unpivot-column

 

Once you've done that youll be left with a column for the x-axis with all the labels such as "GENERAL, PERFORMANCE etc." and another column with the attributes (positive, negative, neutral). You can then use a count function on a stacked bar chart with the labels on the x-axis, the count function as the values and the attribute as the legend.

 

(Side note, from what I can see of the data when you unpivot this will cause your ID column to no longer be unique. If you are using it in any relationships on the 1 side then you may need to refactor your modelling.)

 

Hope it helps,

Kris

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.