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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Eng-mohd
Helper I
Helper I

Like lookup

  • How to search for a value from one column and search for it in another column, and when found, take a value from a third column next to it

I wana make new column with the value from 3thrd if its found 

If not return 0

1 ACCEPTED SOLUTION
Kishore_KVN
Super User
Super User

Hello @Eng-mohd , let me explain with a example. I have two tables, Table 2 and Table 3 and their data is a below:

Table 2:

Kishore_KVN_0-1694506704953.png

Table 3:

Kishore_KVN_1-1694506735770.png

I am now trying to get FTE from Table 3 to Table 2 using Location Name as reference and LOOKUPVALUE DAX function. So calculation looks as below:

FTE'S = LOOKUPVALUE('Table 3'[FTE],'Table 3'[Location Name],'Table 2'[Location Name])

Output looks as below:

Kishore_KVN_2-1694506819789.png

 

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

View solution in original post

2 REPLIES 2
Kishore_KVN
Super User
Super User

Hello @Eng-mohd , let me explain with a example. I have two tables, Table 2 and Table 3 and their data is a below:

Table 2:

Kishore_KVN_0-1694506704953.png

Table 3:

Kishore_KVN_1-1694506735770.png

I am now trying to get FTE from Table 3 to Table 2 using Location Name as reference and LOOKUPVALUE DAX function. So calculation looks as below:

FTE'S = LOOKUPVALUE('Table 3'[FTE],'Table 3'[Location Name],'Table 2'[Location Name])

Output looks as below:

Kishore_KVN_2-1694506819789.png

 

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

Idrissshatila
Super User
Super User

Hello @Eng-mohd ,

 

Yes, you can use the lookup value dax function https://learn.microsoft.com/en-us/dax/lookupvalue-function-dax

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.