Forum Discussion
Creating new column on one table from data on another table based on shared key
I have two spreadsheets I imported into a report to create tables. One is Clicks and includes the columns Click-Thoughs, Name, SKU and the other is Products and includes the columns brandName, sku, and category. I'm trying to create a new column on Clicks that populates with the brandName from Products based on the relationship I created between the two sku -> SKU (which is a Many to one currently). I tried to right click on Clicks and select New Column. Then use brandName = RELATED('Products'[brandName]) but it keeps telling me that the column cannot be found and I have no typehinting.
Relatively new to PowerBI so any help would be appreciated. Thanks!
wkolcz , refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8If did not work
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
2 Replies
- amitchandakSuper User
wkolcz , refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8If did not work
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
- wkolczFrequent Visitor
You're a savior! The second video with LOOKUPVALUE is exactly what I needed! Thank you!