count table calculation

Hi.
how to count table calculation (MonthDiff) ?..
MonthDiff is datediff(maxtrxbooking, Now())
i want to show like bar chart(column) by monthdiff

Thanks