I'm new to power automate. I'm trying to do a simple look up of a last name from excel and then using SQL to return the patient number from our database. I've watched several videos and looked at several posts on this board, but something seems off. If I hard code a last name into the SQL, it finds the patient number, but when I use %CurrentItem['last name'], it finds nothing.

It is my understanding that the correct syntax is %CurrentItem['last name'], yet when I use that, it does not make any hits in my excel sheet.
When I click on the variable button and select CurrentItem, it inserts this which looks different from every video and post I have seen.

I would appreciate any insight that could be offered.
Thanks