In recent years, the external policy environment faced by statistical work has become stricter. With the maturity of the development of Internet of Things technology and the requirement for true statistical data in the company, the State Grid Shaanxi Electric Power Company has carried out research and practice of automatic generation of investment statistics data for power grid infrastructure projects. This study verifies the feasibility of automatic generation of investment statistics, qualitatively improves the ability to quantify investment statistics.