Forum Discussion
look up value not working
- 6 years ago
I figured it our by myself. I write here the solution in case someone has the same issue. Basically my first formula was correct (Lookupvalue searching for multiple criteria,) but it was not working because lookupvalue doesn't work with dates. I have changed the format of the date to whole number and now it is working
Can you share sample data and sample output. If possible please share a sample pbix file after removing sensitive information.Thanks.
My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970
see for instance I have a table with 2 columns Date and Email
Table 1
Date Email
1/02/2020 email1
2/03/2020 email 2
4/02/2020 email 3
I have a second table with a column with dates, another column with the email address and a 3 column that we call "A"
Table 2
Date Email A
3/02/2020 email4
2/03/2020 email 2
7/02/2020 email 6
In my output I want the column A imported in Table 1 when email address and dates match
Output
Table 1
Date Email A
1/02/2020 email1 null
2/03/2020 email 2 value in A
4/02/2020 email 3 null
any help?
- Anonymous6 years agoNot applicable
Kunde = LOOKUPVALUE(Kunde[ID]; Kunde[ID];Angebot[Kunde ID])
Use this code it might help you.
Regards,
Lewis
- bbbt1236 years agoHelper I
Hi, thanks for that but I don't get your code. the labels of the columns do not match my examples