DR. LUIS BOY CHAVIL Página 1
LABORATORIO Nº 01 ELABORACION DE GRÁFICOS
CON REPORTING SERVICE
1. Cargando un Proyecto de Servidor de Informes con Inteligencia de Negocios en Visual Studio 2008:
2. Agregando un Nuevo elemento con click derecho en Explorador de soluciones:
DR. LUIS BOY CHAVIL Página 2
3. Cargando Report:
4. Arrastre el ícono de Gráficos al área de trabajo:
DR. LUIS BOY CHAVIL Página 3
5. Elección del tipo de Gráfico:
6. Ventana DataSet Properties:
DR. LUIS BOY CHAVIL Página 4
7. New Data Set:
8. Escribir el siguiente Script en Query Design: select datepart(mm, O.OrderDate) as Mes, sum(OD.Quantity * OD.UnitPrice) as 'Importe Total' from Orders O join [Order Details] OD on O.OrderID = OD.OrderID where datepart(yyyy, O.OrderDate)=1997 group by datepart(mm, O.OrderDate) order by datepart(mm, O.OrderDate)
DR. LUIS BOY CHAVIL Página 5
9. REPORTE FINAL
EJERCICIO Elabore un Gráfico que permita ingresar el año y mostrar las ventas totales mensuales de dicho año.