@satyadoorva - at first glance at the screenshots you provided, it appears as though you have not configured the repeating sections property that needs to be specified. This is what tells the renderer to “repeat” row #8 in your template with each row in your ListOfPatients dataset.
@satyadoorva try to change dataset name in your Excel custom template from “ListOfPatients” to ‘ListofPatients’ as it is the right key seen here in your dataset mapping