cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors