Forum Discussion
Shelley
Post Prodigy
7 years agoHow to lookup values in another table in the Query Editor?
Does anyone know if/how this can be done? I have a table in the Query Editor that has a number of fields, one of which is the Customer #. I want to make a new column in this table that contains R...
- 7 years ago
Hi Shelley,
Please check out the demo in the attachment. It's a solution in Power Query (the Custom column).
(let currentCustomer = [CustomerName] in Table.SelectRows(Table1, each [CustomerName] = currentCustomer)){0}[CustomerID]Best Regards,
Dale
MAAbdullah_47
Helper V
5 years agoThank you dear for this useful demo , I have very big data, I tried it but when I implemint it the custom column take long time and not responed at all , do you think this method not useful for big number of rows? are there another solution other than dax?
adriannabell
4 years agoRegular Visitor
Did you ever find a solution to this being so slow? I also have big data and whether I do a merge as new or use the suggested solution, it takes forever....