This error is coming from one SAQL Query. Kindly check that particular widget where you are using this SAQL Query.
Create a lens from this Dashboard Dataset. Go to SAQL Query Section. Then write this logic there also you'll get this error. Fix it there and the you'll get correct SAQL Query.