Hi Abhishek,
Below you see an example implementation, assuming you created the template correctly.
I hope this helps!
Good luck, If you have any further questions, let me know.
check : https://docs.mendix.com/howto/integration/using-the-excel-exporter