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
agragesh123
Frequent Visitor

How to replicate Vlookup in power BI ?

Hi! I have two different tables each very important in it own datapoint that they throw. The thing is Related will not work in this case becuase are absolutely no coloumn on whom i can remove duplicate to link with the other coloumn.The table is as follows:

chs.JPGccc.JPG

I hve the d list also with a lot of duplicates but in EX I do it as vlookup(d,sheet name[col],1,0) something like this so that in the end i can count the number of times the code repeats in the second file

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

There is a LOOKUP function in DAX:

https://msdn.microsoft.com/en-us/library/gg492170.aspx

 

Also, you can check out my article here as well, which has some various methods of replicating lookup functionality:

https://community.powerbi.com/t5/Community-Blog/Good-Ol-VLOOKUP-The-Ultimate-Guide-to-Lookups-in-Pow...

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

my both fields are not having any unique columns they both have a lot of duplicate values. thus am not able to use the related function. is there any other way?

Anonymous
Not applicable

Maybe you can create a key column with two other columns using the concatenate formula.

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.