Andrew Connel has come up with a brilliant solution for an old desire, to enable dinamic filtering in the Content Query Web Part.
“. . . a subclassed CQWP implementing dynamic filtering in less than 30 lines of code. Hey, if you look at the guts of the solution, the whole thing is really only 8 lines of code in the OnLoad() method! Now that’s easy!”
You can find this article here.