Account Recivable report query

Hie Team,
I have one query related to account receivable report…i adding two Age Rang field in report.Its Shows added filed.but the proble is happning when i filtred it…
i want to get filter as per the age rang in report…

i had try but it give an error.the error is below.

Untitled123

Seems like you need to indent your code properly. Refer link.