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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
gundam_pilot
New Member

Plot data from two tables using the same Dates

Hi all

 

I have two tables with different data. Both have a end of month Date field (although by different names).

 

I would like to plot data from the two tables on the same plot, with the x-axis using the same dates, how do I establish this relationship or let Power BI know that the two dates are the same and plots/data can be shared?

1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hi @gundam_pilot 

 

You can create the relationship by:

1. On the Home tab, click Manage Relationships > AutoDetect.

2. Create a relationship manually. draw a line from the date column in the first table to the second table:

005.PNG

 

Then create the visual using date as x-axis:

006.PNG

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @gundam_pilot 

 

You can create the relationship by:

1. On the Home tab, click Manage Relationships > AutoDetect.

2. Create a relationship manually. draw a line from the date column in the first table to the second table:

005.PNG

 

Then create the visual using date as x-axis:

006.PNG

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
venal
Memorable Member
Memorable Member

@gundam_pilot 

Create a relationship for the common column from Home >> Manage Relationships.

Now use the date column in X-axis and measures in Y-axis.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more

If this post was helpful may I ask you to mark it as solution and give it some kudos?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.