Evaluating expression inside query and expose in the final output

This is perfect it worked for me. It would be great if such things are documented or I did not read the documentation properly.

Thanks for the answer !!!