Did you follow the documentation
You need to configure the model reflection module too.
See documentation : https://docs.mendix.com/howto/integration/importing-excel-documents
It has steps to configure the excel importer in Mendix.
You have to Download the Excel Importer and Mx Model Reflection modules from the Mendix Marketplace.
If you find my answer useful, please mark it as accepted. It will be helpful for me.