Monthly Graphs - Orders
Monthly Graphs - Orders
This report displays the trend of orders by month and year.
Report Definition
Author
April Dianne Gahuman (Full Scale developer)
Presentation Medium
SSRS Portal
Fields (data)
Orders
TotalTicketPrice
Month
Year
YearDataSet
Year
Parameters
year
Calculations
Column Name | Data Type | Calculation |
---|---|---|
TotalTicketPrice | int |
|
Data Sources
The main data source will be the TB_SalesView view in the eiboxoffice database (192.168.10.215).
Data Set
Data Set | Query | Description | |
---|---|---|---|
1 | Orders | SELECT
COUNT(TotalTicketPrice) AS TotalTicketPrice,
DATENAME(MONTH, DATEADD(MONTH, MONTH(FinalizedDatetime), -1 )) AS Month,
YEAR(FinalizedDatetime) AS Year
FROM [eiboxoffice].[dbo].[TB_SalesView]
WHERE IsCanceled = 0
AND MONTH(FinalizedDatetime) IS NOT NULL
AND YEAR(FinalizedDatetime) IS NOT NULL
AND YEAR(FinalizedDatetime) IN (@year)
GROUP BY MONTH(FinalizedDatetime), YEAR(FinalizedDatetime)
ORDER BY YEAR(FinalizedDatetime) DESC, MONTH(FinalizedDatetime) | This gets the count of the total ticket price and its corresponding month and year that were tagged as not canceled and falls within the year of selection. |
2 | YearDataSet | SELECT DISTINCT YEAR(sv.FinalizedDatetime) AS Year
FROM [eiboxoffice].[dbo].[TB_SalesView] sv
WHERE sv.IsCanceled = 0 AND YEAR(sv.FinalizedDatetime) IS NOT NULL
ORDER BY YEAR(sv.FinalizedDatetime) DESC | This gets the list of years in the table to be shown as a dropdown selection in the parameter. |
, multiple selections available,
Related content
Monthly Graphs - Inventory
Monthly Graphs - Inventory
More like this
Monthly Graphs - Purchases
Monthly Graphs - Purchases
More like this
Monthly Graphs - Market Share
Monthly Graphs - Market Share
More like this
Monthly Graphs - Sales and Margins
Monthly Graphs - Sales and Margins
More like this
Monthly Graphs - Margin Share
Monthly Graphs - Margin Share
More like this
Monthly Graphs - Inventory Turnover
Monthly Graphs - Inventory Turnover
More like this