Trouble generating reports with attachments

I am trying to generate an excel report, and I use a template to generate an attachment, when I select to create a report for a row in the table,

the file is generated correctly, but when I select to generate report for the Entire table it generates an error that you cannot find the columns.

3X_1_1_114e335964b00f2d7fc720b1ae6820a3003fb9fc.png

DataSource:

Template: