It will not work in browse mode. Make it an unstored calculation and it should work in preview mode.
Your calculation needs to be unstore to update as needed.
The best way is in edit mode under insert menu, select insert page number symbol.
Thank you guys
It was the storage issue