Catalyzes the oxidative decarboxylation of 6-phosphogluconate to ribulose 5-phosphate and CO(2), with concomitant reduction of NADP to NADPH. . This is the function of ENSG00000142657 (PGD, phosphogluconate dehydrogenase).