Optional filter on Query Report

@tglk check this here is the solution Using filter for Query Report in ERPNext v13