Hi Sampath,
As suggested by Subbarao, please use Previous() function to handle this requirement.
But Previous() function can help only one level back, if you need dynamic multi-month check to see if its null or not, its advisable to handle at database level instead of in Webi.