Pivot reporting framework