I am not able to reproduce it in the i2b2 development environment but I am able to reproduce it on the public webclient (i2b2.org site).
The problem may be with the data in the metadata tables. The database/schema information prefacing the calculations may be incorrect.
Description
An error is returned when running a query in which one of the concepts is an "Age at visit" term.
Updated the demo site, this is a case where the c_dimcode is hardcoded with a specific SQL statement, and in this case has i2b2demodata. as the schema name. On the amazon database the schema was not i2b2demodata
Mike Mendis
added a comment - Updated the demo site, this is a case where the c_dimcode is hardcoded with a specific SQL statement, and in this case has i2b2demodata. as the schema name. On the amazon database the schema was not i2b2demodata