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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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