- Microsoft SQL Server 2014 Business Intelligence Development Beginner’s Guide
- Reza Rad
- 495字
- 2021-08-13 17:55:27
Time for action – creating a tabular project
In this example, based on data in the AdventureWorksDW2012 database, we will create a tabular project with SSDT from an empty project. You will see a variety of data sources that are supported and how easy it is to work in the tabular modeling environment.
- Open SSDT, and from the Files menu, choose a new project, and then from the Business Intelligence templates under Analysis Services, choose Analysis Services Tabular Project. Name this project
Chapter 03 Tabular
. - You might see a dialog box titled tabular model designer that asks for a tabular connect option, so enter the SSAS Tabular server's connection details and click on OK.
- A new tabular project will be created. Now, from the Model menu, choose Import from Data Source.
- In the Import Table Wizard, you will see a list of data source types that can be used to import data. Choose Microsoft SQL Server and continue.
- Create a connection to AdventureWorksDW2012. In the Impersonation Information option, enter the credential details that have the appropriate permission on the underlying database and continue.
- Choose Select from a List of Tables and Views to import data in the next step.
- In the Select Tables and Views option, select FactInternetSales, and then click on select related tables. Change the name of FactInternetSales and all dimensions by removing the
fact
ordim
prefix from their names such as InternetSales and Date. - The final step will show importing summary; all records will be loaded into a workspace for further development and modeling.
- After importing data, you will see the model in the designer. Tabular designer, as you can see, is much simpler than the multidimensional designer.
- Under the Model menu, go to View and then Diagram View; you will see a diagram of tables that are related to each other.
What just happened?
Creating a tabular model is as simple as importing data rows from tables or views, but the model will require further modification. In the next sections of this chapter, you will see how to change the model with hierarchies, relationships, and calculations.
SSAS Tabular, as you saw in step 4, supports many types of data sources such as SQL Server, Teradata, Web services, Text files, and more. Also, importing tables and views into the model can be customized with filtering, as mentioned in step 7.
Model designer in a tabular project is very simple; it has two different views, Grid View and Diagram View. The Grid View shows some data rows of each table with columns and properties of each column shown in the properties pane (as shown in the next screenshot). The Diagram View shows how tables relate to each other in a diagram (step 10):

- Instant Apache Stanbol
- 基于Swift語(yǔ)言的iOS App 商業(yè)實(shí)戰(zhàn)教程
- Android系統(tǒng)原理及開(kāi)發(fā)要點(diǎn)詳解
- ExtJS Web應(yīng)用程序開(kāi)發(fā)指南第2版
- 零基礎(chǔ)學(xué)C語(yǔ)言程序設(shè)計(jì)
- C++從入門(mén)到精通(第6版)
- 測(cè)試架構(gòu)師修煉之道:從測(cè)試工程師到測(cè)試架構(gòu)師
- Python硬件編程實(shí)戰(zhàn)
- TypeScript圖形渲染實(shí)戰(zhàn):2D架構(gòu)設(shè)計(jì)與實(shí)現(xiàn)
- Java EE架構(gòu)設(shè)計(jì)與開(kāi)發(fā)實(shí)踐
- After Effects CC技術(shù)大全
- Design Patterns and Best Practices in Java
- Android開(kāi)發(fā)權(quán)威指南(第二版)
- Server Side development with Node.js and Koa.js Quick Start Guide
- JavaScript重難點(diǎn)實(shí)例精講