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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Scarthart
Helper I
Helper I

Relation of two tables with Find V

Good morning, I hope you can help me please, what I want to do is relate the table "Active formulations in erpmax REVISION" with the table "ItemsPedxCli (11)" and obtain column F for that I did it in an excel with the formula replicate SEARCH V in excel how can I replicate this formula in Power BI.

 

table "Active formulations in erpmax REVISION"

Captura de pantalla (105).png

table "ItemsPedxCli

Captura de pantalla (104).png

The result when using the vlookup formula in this table is this

Captura de pantalla (107).png

What I have in Power BI

Captura de pantalla (108).pngCaptura de pantalla (109).png

3 REPLIES 3
MFelix
Super User
Super User

Hi @Scarthart ,

 

For this I believe you have two options:

 

Option 1) make a relationship between the two tables (I assume that one of this tables don't have duplicated values) and then add the following column to the Formulaciones ativas:

 

Column Name = RELATED('Consolidad per referencia'[Solicitado])

 

Option 2) use a LOOKUPVALUE formula:

Column Name = LOOKUPVALUE('Consolidad per referencia'[Solicitado], 'Consolidad per referencia'[Codigo], 'Formulaciones ativas'[Codigo])

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



@MFelix Neither of the two options works for me.

Captura de pantalla (112).png

Hi @Scarthart ,

 

In the table fo the Consolidad is there more than one value per código? The error that is returning is that you have more than one value per each line.

 

If there is more than one value how do you select the value you need to return?


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.