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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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