Query parameters on report

Hi All,

I used parameter from datasource query to filter my data.The reference for approach I used is below

http://dev.goshoom.net/en/2014/09/showing-dynamic-parameters/

after adding these parameters to tmp I try to use them in process report method to filter data with few manipulations somehow its not working.

am I missing any event here.Please let me know