1 business intelligence franco perduca factory software [email protected] analysis service 2005...
TRANSCRIPT
![Page 1: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/1.jpg)
1
Business Intelligence
Franco Perduca Factory Software
Analysis Service 2005 - Introduzione
![Page 2: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/2.jpg)
2
AgendaAgenda
Basi dati multidimensionali (OLAP)Analysis Services step by stepCaratteristiche di un database OlapInterrogare i cubi (Mdx e dintorni)Client OlapGestire la sicurezza in Analysis ServicesDeploy della soluzione
![Page 3: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/3.jpg)
3
Basi dati multidimensionali (OLAP)Basi dati multidimensionali (OLAP)
Problemi del dwhI dati sono vastissimi Le query non sempre sono “immediate”C’è bisogno di un “cane da query” o “da report”Le applicazioni spesso producono report cartacei e/o fogli excelI report e/o fogli excel più che rispondere a domande le generano
![Page 4: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/4.jpg)
4
Basi dati multidimensionali (OLAP)Basi dati multidimensionali (OLAP)
È una “organizzazione” multidimensionale dei dati provenienti dal DW
Il cubo rappresenta la struttura logica di un database Olap
Le dimensioni e i fatti vengono organizzati in un modello intuitivo di facile utilizzo da parte degli utenti
![Page 5: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/5.jpg)
5
Basi dati multidimensionali (OLAP)Basi dati multidimensionali (OLAP)
Il cubo consente di rappresentare in modo intuitivo e maneggevole la dipendenza di un fatto da 3 dimensioni
L’ipercubo è una generalizzazione del cubo su n dimensioni, con 1 <= n <=
Per semplicità, si usa fare riferimento al “cubo” indipendentemente dal numero di dimensioni
![Page 6: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/6.jpg)
6
Basi dati multidimensionali (OLAP)Basi dati multidimensionali (OLAP)
Ogni cella è un valore
Il valore di ogni cella è l’intersezione tra gli attributi delle dimensioni
![Page 7: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/7.jpg)
7
Basi dati multidimensionali (OLAP)Basi dati multidimensionali (OLAP)
Q4Q1 Q2 Q3Time Dimension
Dallas
Denver
Chicago
Mar
kets
Dim
ensi
on
Apples
CherriesGrapes
AtlantaSales Fact
Melons
Pro
duct
s D
imen
sion
![Page 8: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/8.jpg)
8
Database OLAPDatabase OLAP
Le dimensioni ci permettono di “affettare” a “dadi” il cubo
Le gerarchie all’interno delle dimensioni consentono di “trapanare” all’ interno del cubo per scendere/salire nei dettagli/aggregazioni (DrillDown/DrillUp)
Può produrre report stampati, ma è prima di tutto una funzionalità interattiva
Consente di verificare velocemente ipotesi formulate dall’utente
![Page 9: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/9.jpg)
9
Analysis Services step by stepAnalysis Services step by step
Analysis Server gestisce una base dati multidimensionale per ottimizzare l’accesso ai dati attraverso client OLAP
Un database è un insieme di cubi
I cubi vengono alimentati con fonti dati esterne
![Page 10: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/10.jpg)
10
Analysis Services step by stepAnalysis Services step by step
Unified Dimensional Model (UDM)
Combina in un modello unico tutto il necessario per l’analisi
Ambiente intuitivo per analisi interattive
Olap fa parte dell’ UDM
![Page 11: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/11.jpg)
11
Security
Basic Dimensional Model• Cubes and Dimensions• Storage/caching policies • Linked objects
Data Source ViewCustomerID (PK)NameAge
OrderOrder# (PK)CustomerIDDueDate
CalculationsScope(Customer.Country.USA, *); Sales = 2;End Scope;
Analysis Services step by stepAnalysis Services step by step
End-user Model• Translations• Actions• KPIs …
![Page 12: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/12.jpg)
12
Analysis Services step by stepAnalysis Services step by step
Passi necessari per creare un cuboCreare un data source (la fonte dati)Disegnare la data source viewEseguire il wizardDeploy e processo del database
Un cubo puo’ contenere piu’ fact table
Ogni fact table genera measure group diverse
![Page 13: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/13.jpg)
13
Analysis Services step by stepAnalysis Services step by step
BI Development StudioAmbiente integratoFunziona all’ interno di Visual StudioLavora in modo disconnessoGenera script in formato xml
![Page 14: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/14.jpg)
14
Analysis Services step by stepAnalysis Services step by step
DEMO
![Page 15: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/15.jpg)
15
Dettagli sulle dimensioniDettagli sulle dimensioni
Dimensione è basata sugli attributi presenti nella tabella delle dimensioni
Posso creare gerarchie per poter facilitare la navigazione
![Page 16: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/16.jpg)
16
Dettagli sulle dimensioniDettagli sulle dimensioni
![Page 17: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/17.jpg)
17
Dettagli sulle dimensioniDettagli sulle dimensioni
Dimensioni parent child
Classica tabella con autoreferenzaSono basate su due campi all’ interno della stessa tabellaNon è noto il numero di livelliEs. Piano dei conti
![Page 18: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/18.jpg)
18
Dettagli sulle dimensioniDettagli sulle dimensioni
Dimensione tempo
Può essere creata in automatico con wizard a partire da un campo data/stringa della tabella dei fattiSe gestita come una normale tabella delle dimensioni possiamo gestire altri dettagli legate alla data es. festivo, prefestivo ecc.Occupa meno spazio !!!
![Page 19: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/19.jpg)
19
Dettagli sulle dimensioniDettagli sulle dimensioni
Demo
![Page 20: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/20.jpg)
20
Interrogare i cubiInterrogare i cubi
La soluzione più semplice è nella maggior parte dei casi utilizzare Excel:
Excel può collegarsi ad Analysis ServicesExcel add-in accelerator
Reporting ServicesMagari integrato in WSSS
Business Scorecard AcceleratorRicco ambiente di sviluppo
Grosse novità in vista
![Page 21: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/21.jpg)
21
Interrogare i cubiInterrogare i cubi
DEMO
![Page 22: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/22.jpg)
22
Interrogare i cubiInterrogare i cubi
Potrebbe essere interessante implementare calcoli e formule per consentire analisi più approfondite e/o confronti tra le varie dimensioni (es. tempo)
La risposta e’ MDX
![Page 23: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/23.jpg)
23
Interrogare i cubiInterrogare i cubi
Key Performance IndicatorsPer creare cruscotti aziendali
Calculate Value, Goal, Status, Trend, Weight, Gauge
Disponibile sul client
Adomd.netRS
![Page 24: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/24.jpg)
24
Interrogare i cubiInterrogare i cubi
KPIActual value
Valore attuale.Goal value
Obiettivo da raggiungereStatus
Come sta andandoValore compreso tra (-1 very bad ,0,1 very good )
Trend.Andamendo nel tempoValore compreso tra (-1 ,0,1 )
Rappresentazione grafica per status e trend
![Page 25: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/25.jpg)
25
Interrogare i cubiInterrogare i cubi
WritebackPossibilità di “scrivere” nell’ UDM
Es Budget con possibilità di “spalmare” sul dettaglio dati aggregati
ActionsLink tra dati e una azione
urlReportingDrillThrough
![Page 26: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/26.jpg)
26
Interrogare i cubiInterrogare i cubi
DEMO
![Page 27: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/27.jpg)
27
Gestire la sicurezzaGestire la sicurezza
Si basa su definizioni di ruoli che si “appoggiano” sulla windows security
AmministrativaAdministratorProcess DatabaseRead Definition
![Page 28: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/28.jpg)
28
UtentiSi basa sulla creazioni di ruoli all’interno di Analysis Services Posso limitare l’utente a vedere singole dimensioni, livelli, membriConsente di arrivare alla singola cella all’interno del cubo
Gestire la sicurezzaGestire la sicurezza
![Page 29: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/29.jpg)
29
Gestire la sicurezza Gestire la sicurezza
Il ruolo viene creato a livello di database dal Database Role ManagerPer ciascun cubo si possono specificare i dettagli
![Page 30: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/30.jpg)
30
Gestire la sicurezza Gestire la sicurezza
Demo
![Page 31: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/31.jpg)
31
Deploying an OLAP SolutionDeploying an OLAP SolutionAggiornamento delle dimensioni
Process Fullquando :
aggiungo, elimino un livello, rinomino o elimino un membro oppure lo passo di livello
conseguenze :Nessun cubo interessato è disponibile ed inoltre deve prevedere un full process prima di diventarlo
Process Updatequando :
Nuovi membri o modificheconseguenze :
I cubi rimangono disponibiliI nuovi membri aggiunti legati a tabelle dei fatti non ancora processate appariranno senza valore
![Page 32: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/32.jpg)
32
Deploying an OLAP SolutionDeploying an OLAP Solution
Aggiornamento dei cubi
Process Full quando :
viene creatoAggiungo,elimino o modifico una misuraRebuild di una dimensione shared
conseguenze :Il cubo non e’ disponibileElaborazione lunga
![Page 33: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/33.jpg)
33
Deploying an OLAP SolutionDeploying an OLAP Solution
Aggiornamento dei cubi
Process Incrementalquando :
Aggiungo nuovi dati al DWconseguenze :
Non “costa molto” in quanto il cubo rimane disponibile
![Page 34: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/34.jpg)
34
Deploying an OLAP SolutionDeploying an OLAP Solution
Aggiornamento dei cubi
Altre opzioniProcess IndexesProcess DataProcess StructureProcess IndexProcess Script Cache
Proactive Cache
![Page 35: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/35.jpg)
35
Deploying an OLAP SolutionDeploying an OLAP Solution
XMLAZero client footprintHTTP, TCP/IP, SOAP, UDDI, WSDLBackward compatibility with OLE DB and ADO MDNo Client caching
![Page 36: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/36.jpg)
36
Deploying an OLAP SolutionDeploying an OLAP Solution
Backup e restore di un cuboSSMS (pulsante destro del mouse)Possibilità di encrypt con password
![Page 37: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/37.jpg)
37
Deploying an OLAP SolutionDeploying an OLAP Solution
Analysis Services Scripting Language (ASSL)
Linguaggio usato in tutti i file xml di ASView Code da Development Studio<Annotations> è usata solo dal Designer È basato su XML/A
XML for AnalysisSOAP-basedwww.xmla.org
![Page 38: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/38.jpg)
38
Deploying an OLAP SolutionDeploying an OLAP Solution
Save (from BI Development Studio)Salva in formato XML la definizione
Build (from BI Development Studio)Genera ASDatabase XML file
DeployManda ASDatabase XML file al serverDeployment Wizard per configurare script
ProcessCarica dimensions e misure BIDS fa processes automatico sul deploy
![Page 39: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/39.jpg)
39
Deploying an OLAP SolutionDeploying an OLAP Solution
Doppio click su .ASDatabase definition file
Chiede informazioni di configurazione
Server name, target database nameReplacement mode for partitions and rolesLocations for error logs and data filesProcessing options (full, default, or none)
Puo creare XMLA script
![Page 40: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/40.jpg)
40
Deploying an OLAP SolutionDeploying an OLAP Solution
Analysis Management Objects (AMO).Net API per eseguire ASSLScripting crea ASSL, no AMORimpiazza (DSO)
DSO disponibile per compatibilità
![Page 41: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/41.jpg)
41
Deploying an OLAP SolutionDeploying an OLAP Solution
DEMO !!!
![Page 42: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/42.jpg)
42
Domande?Domande?
![Page 43: 1 Business Intelligence Franco Perduca Factory Software francop@factorysw.com Analysis Service 2005 - Introduzione](https://reader035.vdocuments.us/reader035/viewer/2022070313/5542eb76497959361e8e0bf4/html5/thumbnails/43.jpg)
© 2004 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.