Below is a chart of Nifty historical PE from 1999 onwards till today.
The PE data is sourced from NSE website. I assume it is trailing twelve months (TTM) PE. In any case, we will attempt a broad investing theme here so as long as we follow NSE data the analysis remains valid.