Try each of the following until the issue is resolved: 
  1. Go to the Select Filter and Output fields tab.
  2. In the Include Records Where section, look for any criteria that might contain a comma or dollar sign or other symbol.  For example, revenue amount is equal to $1,000.
  3. Double click on that line of criteria.  Remove all symbols.  For example, your criteria should look like revenue amount is equal to 1000
This could apply to other symbols so look for the symbol in the error message in the criteria of the query.