Caste census is an "X-ray" that is necessary to ensure the participation of Other Backward Classes, Dalits and tribals in the government as per their proportion in population, Congress leader Rahul Gandhi said on Thursday in poll-bound Madhya Pradesh.