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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
shaunguyver
Helper III
Helper III

Show multiple series from different tables in same line chart

I have several data sets, all of which have the same column layout:

 

  • Property Name
  • 2015 Cost (£)
  • 2016 Cost (£)
  • 2017 Cost (£)
  • 2018 Cost (£)

Each data set represents a different kind of cost. One data set is 'rent', another is 'security costs', etc. But, they're all financial and have the same column layout.

 

I want to create a line chart that shows each of these costs as different series. I am able to do this for each data set individually by unpivoting the columns. But when I place more than one value into the line chart (from another data set), it simply puts a line through the chart that isn't correct for the data.

 

Any help would be much appreciated,

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@shaunguyverYou could add a new column to each of your facts(sheets) which tells the category(i.e. Rent etc) and then union all the facts into 1 table. When you are drawing the line chart after this you can add the category in the legend field.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@shaunguyver Can you post a screenshot of sample data?

Thanks for your quick reply - the first screenshot is an example of the Excel data my data sets are feeding from. The second screenshot is the data set in query editor once it has been un-pivoted so that I can create line charts.

 

screenshot1.pngscreenshot2.png

Anonymous
Not applicable

@shaunguyverYou could add a new column to each of your facts(sheets) which tells the category(i.e. Rent etc) and then union all the facts into 1 table. When you are drawing the line chart after this you can add the category in the legend field.

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.

Top Solution Authors