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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
gino_becerra
Regular Visitor

Create line graph with data from two unrelated tables based on dates (x axis)

I have two tables. one list equipment hours by day and the other volume handled by day. 

i would like to create one line graph that overlaps equipment hours in the Y axis and volume on the y-2 axis (in order to seee any patterns) where the X axis is the day.

 

the day range to display, as well as the hours and volume, will be determined by a series of filter visuals on each of the two tables.

 

is this possible?

 

right now I have two graphs on top of each other as per below:

 

gino_becerra_0-1739292359485.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @gino_becerra   

You can create a calendar table, and create relationip among the tables, then use line chart visual, it should can work.

You can refer to the following sample.

Sample data 

Hours

vxinruzhumsft_0-1739325694284.png

Volume

vxinruzhumsft_1-1739325714944.png

And there is a calendar table and there is 1:n relationship among the tables.

vxinruzhumsft_2-1739325773871.png

Then you can create a line chart, and put the following field to it.

 vxinruzhumsft_0-1739326264318.png

 

 
 

it can work.

vxinruzhumsft_1-1739326277273.png

Best Regards!

Yolo Zhu

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

1 REPLY 1
Anonymous
Not applicable

Hi @gino_becerra   

You can create a calendar table, and create relationip among the tables, then use line chart visual, it should can work.

You can refer to the following sample.

Sample data 

Hours

vxinruzhumsft_0-1739325694284.png

Volume

vxinruzhumsft_1-1739325714944.png

And there is a calendar table and there is 1:n relationship among the tables.

vxinruzhumsft_2-1739325773871.png

Then you can create a line chart, and put the following field to it.

 vxinruzhumsft_0-1739326264318.png

 

 
 

it can work.

vxinruzhumsft_1-1739326277273.png

Best Regards!

Yolo Zhu

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

 

 

 

 

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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