North Carolina’s total revenue for July through April fell $23 million from last year, the Office of the State Comptroller said.