Sei sulla pagina 1di 2

CREARE CUB OLAP SQL SERVER BUSINESS INTELLIGENCE Development Studio Creare proiect nou File New Project

ect Analysis Services Project Name: projectVanzari Location: D:\Bazededate View - Solution Explorer ProjectVanzari Data Sources Data Sources Views Cubes Dimensions Mining structures Creare conexiune la sursa de date (depozit stea - baza de date MsAccess) Data sources New data source (wizard - next new Provider : Microsoft Jet 4.0 OLE DB provider Database filename: D:|\Bazededate\Vanzari\DEPOZIT_Vanzari_stea.mdb Test connection next Impersonated information - Inherit next Data-source-name: DEPOZIT_VANZARI_SURSA finish ) Creare general view asupra sursei de date Data sources DEPOZIT_VANZARI_SURSA.ds Data Sources view New data source view (wizard next next Select tables and views AGENTI, CLIENTI, Fapte_vanzare.., PRODUSE, TIMP Next Name: DEPOZIT_VANZARI_view finish) Creare dimensiuni Data sources DEPOZIT_VANZARI_SURSA.ds Data Sources view DEPOZIT_VANZARI_view.dsv Cubes Dimensions New dimension (wizard next use an existing table- nextMain table: AGENTI Key column: cod-agent Attributes: Cod-agent, Nume-agent, Echipa - next Name:AGENTI_dim finish) Attributes ; Hierarchies ; Data source view Create new hierarchy drag attributes: Echipa, Nume agent, cod-agent Rename: AGENTI-echipe Attributes relationships cod-agent >> nume-agent >> echipa Save all Dimensions New dimension Main table: CLIENTI Key column: cod-agent Attributes: Cod-client, Nume-client, Localitate, Zona - next Name:CLIENTI_dim finish) Attributes ; Hierarchies ; Data source view Create new hierarchy drag attributes: Zona, localitate,Nume-client,Cod_client, Rename: CLIENTI_geo Attributes relationships cod-client >> nume-client >> localitate>>Zona

Save all Dimensions New dimension Main table: PRODUSE Key column: cod-produs Attributes: Cod-produs, Denumire, Categ_prod, Familie_prod - next Name:PRODUSE_dim finish) Attributes ; Hierarchies ; Data source view Create new hierarchy drag Familie_prod, Categ_prod, Denumire,Cod_produs Rename: Produse_clasif Attributes relationships cod-produs >> denumire >> categ-prod >>Familie_prod Save all Dimensions New dimension Main table: TIMP Key column: Data Attributes: Data, Luna, Trim, Sem, Anul - next Name:PRODUSE_dim finish) Attributes ; Hierarchies ; Data source view Create new hierarchy drag Anul, Sem, Trim, Luna, Data Rename: Timp_calendar Attributes relationships Data >> Luna>> Trim >>Sem >> Anul Save all Creare cub (design) Data sources DEPOZIT_VANZARI_SURSA.ds Data Sources view DEPOZIT_VANZARI_view.dsv Cubes - New cube (wizard next use existing tables measures-group tables Fapte_vanzare SumOf Cantitate Sum Of Valoare Nr_fct_zi Select existing dimensions (AGENTI_dim; ..) Cube name: VANZARI _ cube finish) Populare cu date (Deployment) Analysis services ProjectVanzari properties configuration-properties deployment target server localhost database bazadedateOLAP ok Deploy Vizualizare (BROWSE) Measure

Cubes Vanzari_cube.cube Drop Column fields Drop Row-fields Drop measure Save all close project exit