Is it possible to have a DECODE within the select statement of a materialized view on a prebuilt table?

I'm getting an error when trying to create one.
ORA-12060

Any help would be appriciated.
Colin