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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
catsy
Regular Visitor

Make one table using different raw data tables

Hello,

Good day. Appreciate anyone's help on this concern:

I have 2 tables as example below:

 

Table A

DATEQUANTITY
Jan 1, 2020     10
Jan 1, 2021     20

 

Table B

DATEQUANTITY
Jan 1, 2020     20
Jan 1, 2021     30

 

I would like the above to show in powerbi as one table:

 Jan 1, 2020Jan 1, 2021
Table A     10     20
Table B     20     30

 

Is that possible? Note that tables a and b has no column named as "Table A" or "Table B"

Thanks in advance!

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @catsy ,

 

According to your needs, you can use "append" in power query to merge into a new table, and then create a new column through dax with the content "TableA" and "TableB". Finally, put the corresponding field in the matrix to get the result.

v-henryk-mstf_0-1612855063395.png

 

If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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-henryk-mstf
Community Support
Community Support

Hi @catsy ,

 

According to your needs, you can use "append" in power query to merge into a new table, and then create a new column through dax with the content "TableA" and "TableB". Finally, put the corresponding field in the matrix to get the result.

v-henryk-mstf_0-1612855063395.png

 

If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

amitchandak
Super User
Super User

@catsy , Add a column in Dax of power with the table name and use that.

 

You need to add the column of the table name is both dates. Then create a table having table names. Also need to create a date table. Join to both these tables with the Date and table name table and analyze the data across

 

https://www.sqlbi.com/articles/the-importance-of-star-schemas-in-power-bi/

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.