LOOKUPVALUE in Power BI not working

YingFa

Board Regular
Joined
Nov 4, 2019
Messages
63
I am using Lookupvalue in Power BI from two different excel files loaded to Power BI. In one excel file called "data", I have the column "customer name" of different product names and a column "Product name". In another excel called "Main Database" I have the column "product name" filled with the name of the products. This name can be repeated several times along the way. When I create a new column and apply the below formula, the value in the new column gives me the customer name for those products but it gives me blank for some of others, even when the "data" file includes these product names. Can I please have your help on this to know what I am doing wrong?

Customer Name = (LOOKUPVALUE(data[CUSTOMER_NAME],data[PRODUCT_NAME],'Main Databse'[PRODUCT NAME]))

Thank you,
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
If you are using LOOKUPVALUE, then you are probably going about it the wrong way. There is a lot to learn, but I share a lot of info on my blog. I suggest you start here


generally you would use relationships to join tables. LOOKUPVALUE is an uncommon way to bring data from one table into another, which generally defeats the purpose of power BI.
 
Upvote 0

Forum statistics

Threads
1,223,794
Messages
6,174,643
Members
452,575
Latest member
Fstick546

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top