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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
jdusek92
Helper IV
Helper IV

Help with Stacked chart - multiple values + detail

Hello,

 

I am recreating a Tableau Report into Power BI.

I have come across this visualization and data that I cannot mirror into Power BI:

 

Data is in this format - values are in Columns:

jdusek92_1-1621379071905.png

 

In Tableau it looks like this:

jdusek92_2-1621379244631.png

 

In Power BI I struggle to add the Gender detail just as it is in Tableau

 

 

Is it possible to recreate this visual in Power BI using the existing data structure?

 

I know I can have a duplicate table with unpivoted values, but that would create a mess in the data model. That is why I would like to find a solution with the data I have at the moment.

 

Warm regards,

Jakub

 

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

I agree you should unpivot your data.  You can add multiple columns (with auto aggregation of sum) to the values area of a bar chart but then you can't also add your gender column for the legend (as you've probably found out).  You might have to make this chart with the Charticulator visual.

(4) Season 1 - Charticulator - YouTube

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

1 REPLY 1
mahoneypat
Microsoft Employee
Microsoft Employee

I agree you should unpivot your data.  You can add multiple columns (with auto aggregation of sum) to the values area of a bar chart but then you can't also add your gender column for the legend (as you've probably found out).  You might have to make this chart with the Charticulator visual.

(4) Season 1 - Charticulator - YouTube

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.