Do you have "share across devices" turned on? If yes, how many devices do you have with that option active and screen time turned on, on the same iCloud account? If that number is greater than 2, it's a known bug. It doesn't work.
Workaround: turn "share across devices" off, or leave it on for maximum 2 devices.