Thanks for your answer Evanir,
The thing is that I can select the filter but when I select the value for the filter, then the Ad-hoc query is empty.
I guess this is because it does not recognize the field of something similar....any idea?
Thanks!!