I need to create a report using SQL Server 2008R2 Stored procedure that will return the following shape of data:
My view in SQL Server is returning data like this:
The user will select start_date and end_date and that date range will be displayed in columns, i.e. if user selects Apr 1,2012 to Apr 7, 2012 then 7 days, Day1 to Day7 will be shown in columns. The left column will show the totals of "ApplicationId" field. Note that "Assigned", "Processing",.. are Status field.