The previous census performed in Peru was the 2005 Census, the following census was the 2017 Peru Census.
In the context of Peruvian censuses, the previous one took place in 2005, and then there was a gap before the next census, which occurred in 2017.