ssas
DESCRIPTION
Brief intro to SSASTRANSCRIPT
-
SSAS
New Project BI Analysis Services Analysis Services Multidimensional and Data Mining
Building Multidimensional cube:
Solution Explorer:
1. Data Sources connect the data source, extract the data. 2. Data Source Views select tables from the source as required Facts & Dimensions 3. Cubes
a. Use existing table b. Create from scratch c. Generate tables
Measure group tables:
Select Measures
Select new dimensions
Finish
BEFORE you can browse: you need to deploy: right click, say process it is automatically deployed.
Say run
Then you can browse
4. Dimensions 5. Mining Structures 6. Roles 7. Assemblies 8. Misc.
Cubes are frequently based on STAR Schema, concept of fact tables, dimension tables.
Identify facts and dimensions, prepare a logical schema (star). Create a physical database we store measures info. In fact tables and descriptive info in dimension tables.
Measures: Sale price Order Quantity
Dimension: Customer information : Which Customer placed the order. Product information: Which Product has been sold, and its details. Time information: when was the order placed Person Information: Who was the sales person has placed the order.
-
Once we identify Fact and Dimension information, logical Star or snowflake schema can be constructed.
Star schema
SSRS
BI Reporting Services Report Server Project Wizard
1. Select Data Source (Excel, DB, Access OLEDB, Analysis Services, etc). 2. Design query: Query Builder Like Access 3. Select Report Type Tabular, Matrix 4. Design tables: Page Level, Groupings, Details 5. Choose table style 6. Finish
Design Tab to make changes to design of the tables
Preview Tab Output of the report
Solution Explorer .rdl file: the structure of the report (metadata) is stored in it.
View -- > Solution Explorer right click on a project deploy
Deploy started deploys the report into a web application