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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
MartinAa
Frequent Visitor

Line chart X-Axis from two different tables .

Hi All ..!!
Been stuck and wondering to clear my on this. 
I have two tables (Dim_person and Fct_Project) .
For the line chart  in the X-Axis i should use the role name , and in the Y-Axis i should use two measure columns (Demand and capacity) , which will be giving us two line for us to compare between the two. 

Now the situation is for the line chart to give me proper result , for Demand i should be using Fct_Project[Role_name] and for Capacity i should be using Dim_Person[Role_name].If i use a single Role_name for both Demand and Capacity , the results will come wrong because the measures are made accordingly.  
For which in reality , it is not possible or the X-Axis will look lengthy if i add both the role_names from two different table . 

Is there any way to fit in Both Demand and capacity in a single line chart with a single Role_name column on the X-Axis so that it will reflect correct values? 

 

Thank you -
Martina

1 REPLY 1
amitchandak
Super User
Super User

@MartinAa , Not very clear, But you can use both on the same x-axis, with concatenate label off

 

Concatenate Label off : https://youtu.be/QgI0vIGIOOk

 

 

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors