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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
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.