I maybe about to lose my mind so hopefully you can help me.
I was trying to write a dynamic form. The information was placed in a collection that looks like this:

I was trying to pass data into a dataverse table using a patch function and building it piece by piece.
Initially I wrote the following:
LookUp(colFinal,crfa1_name="Machine Number").Data
This returns "G4-33" as expected.
I nested this in an IF statement, which returned an unexpected false value.
IF(LookUp(colFinal,crfa1_name="Machine Number").Data="G4-33","Yes","No")
This returns "NO" for some reason.
I have no idea what I am doing wrong within the If statement that would cause it to return a negative given that the Lookup returns the same text as the comparison?
What am I missing?