Question,
Is Device No a number?
And if I understand correctly, if you do, Text('Device NO.') it works?
To me that tells me excel thinks its a Number and if so, then you need to use the Value of DataCardValue39.Text
And to make sure you dont delegation
Do this
With(
{ConvertToNumber: Value(DataCardValue39.Text) },
Filter(Table1, 'Device No.' = ConvertToNumber)
)