Oracle Message ORA-25965 - fact table must be included in the from clause

ERRORfact table must be included in the from clause
CAUSEAn attempt to create a join index was made, which failed because the from clause does not contain the fact table.
ACTIONEnsure that the from clause contains the fact table.