How to download custom attendance report

Hi, I want to download the attendance report for last month, how can I download it? as when I am downloading the report it is only giving for this month

Click the Search icon (magnifier) on the upper right to apply your month filter first.