This article explains how to resolve the ORA-01722 Invalid Number error in SSRS reports when the query generates this error due to number type parameters p_year and p_month.