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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ansona
Regular Visitor

need something like VLOOKUP in Excel

Hello,

 

Im new learner in power BI, i got a question for adding column between 2 tables.

first picture of below is my table relationship, and second table is about i want to move the data from left table to right table.

if it is in excel, we can always set the formula VLOOKUP in right table.

appreaciate if anyone can teach me how to do this, thanks.

 

*this is my first time posting, let me know if the data im provide is not enough.

 

relationship of my tablerelationship of my tablethis is data of 2 tablesthis is data of 2 tables

1 ACCEPTED SOLUTION

@ansona Once relationship is created between 2 tables, add a new column in second table using below dax

=Related(FirstTableName[ColumnName])

View solution in original post

4 REPLIES 4

@ansona Once relationship is created between 2 tables, add a new column in second table using below dax

=Related(FirstTableName[ColumnName])

Anonymous
Not applicable

How do you get something like this to work if you have 2 date columns?   For instance - looking to lookup the year from a "submitted date" verses the "entered date".  Is there a formula which can be written to be more specific?  Thanks!

 

Hi @Anonymous,

 

Share a dataset and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thank you very much, it works.

Been headache about this few days.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors