The below report is currently written using linq to entities to get the data and building an html table in code. I'd like to rewrite it using SSRS and need some advice.
All of the data is in the same table. There will also be date range parameters.
Here is the basic template for the report that is needed.
Categories 0-30 31-60 61-90 >90 Category1 0* 0 0 0 Category2 0 0 0 0 Category3 0 0 0 0 Category4 0 0 0 0 Category5 0 0 0 0
As an example, to get the first value (*) the select statement would look something like
SELECT
SUM(ItemCount) As Sum_ItemCount
FROM
Table
WHERE
TotalLength < 30
AND Date >= @Date
AND Date <= @Date2
AND Category == 'Category1'