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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

100% Stacked Bar Chart - Multiple Table issues

I'm trying to create a 100% stacked bar chart using 3 columns across 2 different tables - 1 for the Y-axis, 1 for the X-axis and 1 for the Legend.

 

These 2 tables and values are indirectly linked through a common attribute(column) in a 3rd table. Think:    Table 1 - Table X - Table 2

 

One of the columns consists of lengths, which would be used for the X-Axis. For some reason I'm getting equal summed values for each of the legend value, as below. I'd like to make it look like the visual below it. 

Power BI Forum photo.pngPower BI Forum Photo 2.png

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , The year/legend. This means the y-axis column and legend should come from common tables

 

If you trying create measure across table, where one table have some data , you need make sure your measure get filtered based on another table

 

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors