I am using:
=query(importrange(SHEETID,"Orders!$A$2:$X"),"select Col1 where Col23=0")
in a Google Sheets and receiving the following error:
Unable to parse query string for Function QUERY parameter 2: NO_COLUMN: Col23"
I have authorized the IMPORTRANGE already and it will import that data correctly when used without the query.
Any ideas as to what is causing this error?