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
rschaudhr
Resolver II
Resolver II

Moving column from one table to another table.

I have two tables. One table (lets say table1) in direct query from dataflow. The other table (lets say table 2) is an import query from sql server. I want to be able to add column in table1 columns from table2. The is a join between two tables called "key". I have tried related and lookupvalue and it does not seems to work. Is this possible at all?

 

Thank you,

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

Hi all,thanks for the quick reply, I'll add more.

Hi @rschaudhr ,

Regarding your question, you are using a composite model and the “Relate” function is not supported.

The “Relate” function is only supported in the following cases:

1.Relationships between Import Mode tables
2.Relationship between Direct Query Mode tables from the same SQL database

 

 

1.You can create form table visual with similar fields to achieve a similar effect

vzhouwenmsft_2-1736401387644.png

 

2.You can switch Table 1 to import storage mode,then you can use the “Relate” function.Or you can use merge operations with Power Query

vzhouwenmsft_0-1736400833804.png

vzhouwenmsft_1-1736400868258.png

 

Best Regards

View solution in original post

4 REPLIES 4
v-zhouwen-msft
Community Support
Community Support

Hi all,thanks for the quick reply, I'll add more.

Hi @rschaudhr ,

Regarding your question, you are using a composite model and the “Relate” function is not supported.

The “Relate” function is only supported in the following cases:

1.Relationships between Import Mode tables
2.Relationship between Direct Query Mode tables from the same SQL database

 

 

1.You can create form table visual with similar fields to achieve a similar effect

vzhouwenmsft_2-1736401387644.png

 

2.You can switch Table 1 to import storage mode,then you can use the “Relate” function.Or you can use merge operations with Power Query

vzhouwenmsft_0-1736400833804.png

vzhouwenmsft_1-1736400868258.png

 

Best Regards

vanessafvg
Super User
Super User

what type of relationship do you have set up between the tables?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




It is one to many relationship. The table2 has unique values whereas table1 has many values. It is joined on one field called key. I hope I have answered your question. Thanks!

hello @rschaudhr 

 

i am not sure if you can add physical calculated column in DQ table since you can not see the content of DQ tables.

Irwan_3-1736390924610.png

however, i am pretty sure you can do with measure to get a value from table 2 to table 1 (you need table visual to see the value).

below 'Day' column is come from DQ table and 'Column1' is imported table.

Irwan_5-1736391012106.png

 

Hope this will help.

Thank you.

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.