Report Definition Language Client-side (RDLC)Page x of y in header or footerPage {x} of {y} in header or footer Replace(Replace(Code.GetData(x,x),"%1",Globals!PageNumber),"%2",Globals!TotalPages)