Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hey everyone!
I am trying to use LOOKUPVALUE to get some data to another table, but I have a problem with the string. I have the following data:
Table1
| Employee/Supplier | Count |
| Peter Parker Spiderman | 1000 |
Table2
| Employee/Supplier | No. Tickets |
| Parker Spiderman, Peter |
I am trying to use a LOOKUPVALUE to write the value of Count from Table1 to N0. Tickets field in Table2. My problem is that these two strings, although they represent the same value (a name followed by two surnames), because of the structure the LOOKUPVALUE do not recognise it. Is there a way to use a FORMAT in the LOOKUPVALUE so I can match them?
Thanks in advance!
Solved! Go to Solution.
I'm not sure you can FORMAT to rearrange the text. Could you split the columns in Power Query? You could either then recombine them into the same format or use Lookupvalue to search for first name and last name separately.
LOOKUPVALUE ( [Count], Table1[First Name], Table2[First Name], Table1[Surname], Table2[Surname] )
I'm not sure you can FORMAT to rearrange the text. Could you split the columns in Power Query? You could either then recombine them into the same format or use Lookupvalue to search for first name and last name separately.
LOOKUPVALUE ( [Count], Table1[First Name], Table2[First Name], Table1[Surname], Table2[Surname] )
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 33 | |
| 31 | |
| 29 |