Writing a reporting using X++

Good evening all,

I can’t see to find any tutorials on the web that walk a user through developing an X++ report from start to finish. Can anyone assist and suggest and sites/links/books etc. I use AX 4 and 2009.

I would like to find examples of building the query from X++ instead of dragging and dropping objects onto the AOT.

Thanks and kind regards,

Tom