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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
nj17
Helper III
Helper III

Create a line chart by using a column value combined from two table

Hi All,

 

I need to create a line chart based on a column.I have this column in two of my tables.now I want all the values for this particular column from these two tables on a single line.

 

How can I do this.

I know I can Combine these tables in Power Query.

 

Thanks

2 ACCEPTED SOLUTIONS
Pragati11
Super User
Super User

Hi @nj17 ,

 

You have already answer to your query - appending these 2 tables into a single table in Power BI 🙂

Then use the column on line chart.

Just make sure that the column names in both the tables should be same.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

v-cazheng-msft
Community Support
Community Support

Hi, @nj17 

If you want to use values from columns in two tables into one single line, you need to create a new table based on these two tables. According to the structure of your tables, you can use Merge or Append in Power Query Editor or CROSSJOIN or Union in Desktop.

 

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? 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

4 REPLIES 4
v-cazheng-msft
Community Support
Community Support

Hi, @nj17 

If you want to use values from columns in two tables into one single line, you need to create a new table based on these two tables. According to the structure of your tables, you can use Merge or Append in Power Query Editor or CROSSJOIN or Union in Desktop.

 

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Pragati11
Super User
Super User

Hi @nj17 ,

 

You have already answer to your query - appending these 2 tables into a single table in Power BI 🙂

Then use the column on line chart.

Just make sure that the column names in both the tables should be same.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi @Pragati11 Is there any other way something if we can create a measure where it will return the total values of this column from both the tables.Beacause through appending query it creates a new dataset.

 

Thanks

Hi @nj17 ,

 

this will completly depend on what you are trying to plot on your line chart.

Add details and some screenshots on what you are trying to achieve.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.