yes i have done some changes to the query name.
One more thing i forgot to tell, if i go to edit option in the resulting object then choose the option "apply & close", later the cell no longer shows the error.But if i refresh the report the #error comes up.
Thanks,
Vinay