After trying again and again, I found a way to make this work.
If you're using an excel file, the Data connector should be OneDrive for Business instead of Excel Online(Business).
DataSource from the OneDrive doesn't throw a syntax error when using the 'Costumer ID' while when the Powerapp is connected to Excel Online, the error keeps on appearing.
I don't know why this issue occurs. I thought that both Data Connectors will work since they both support Excel files.
After learning this now, I would like to ask if it's possible to change the title of my post since it is misleading,
it should be "PowerApp LookUp doesn't seem to work for Column Names with spaces in Excel Online(Business)" ?
Hi Jason,
It's a text column, but I also tried removing the quotation marks and it states that "Incompatible types for comparison. These types can't be compared: Text, Number"
Could you please try replicating the issue? Maybe it will work on your machine.
It would give me hope if LookUp works on your side.
Is the Customer ID column a text column or number column? If it's a number column, you must omit the quotation marks so it looks like this:
LookUp(Customers, "Customer_x0020_ID" = 123)
If it's a text column, then I'm afraid I'm not sure.
WarrenBelz
89
Most Valuable Professional
MS.Ragavendar
60
Michael E. Gernaey
42
Super User 2025 Season 1