I don't have the Redmi Note 7 but the Note 9 Pro. But the storage space was not displayed correctly in Xiaomi's UT anyway. With the predecessor model Redmi Note 9 it was the same with the storage space. However, I always deleted the data completely during a new installation. You can also reset your data with the UT program on the PC without losing it 🙂