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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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