Forum Discussion
Lookup table in combination with searching a text string
- Anonymous8 years ago
Hey mspreng
Your situations seems pretty interesting, but I've done a video on something very similar to this that I think might help you out. I don't have the exact link right now but if you go to youtube.com/c/bielite you can search for the "VLOOKUP" video I did a couple weeks back. The gist is to use the CONCATENATEX function to loop through all of your potential names and then the SEARCH function like you have already done.
Hope this helps,
Parker
Hey mspreng
Your situations seems pretty interesting, but I've done a video on something very similar to this that I think might help you out. I don't have the exact link right now but if you go to youtube.com/c/bielite you can search for the "VLOOKUP" video I did a couple weeks back. The gist is to use the CONCATENATEX function to loop through all of your potential names and then the SEARCH function like you have already done.
Hope this helps,
Parker
Hi Anonymous,
Very nice solution !
Any chance you know how we can accomplish this in Power query rahter than in DAX?
I have searched all over, but haven't been able to find a solution, where we are "looking up" text values, in the same way the lookup works in Excel.
In Excel we can lookup approximate text values using this formular:
=Lookup(2^15,Find('Sheet1'!$M$4:$M$21,$J7),'Sheet1'!$O$4,$O$21)
Thanks in advance,
Espen