Readme for Adventure Works DW 2014 Multidimensional Databases.docx

Embed Size (px)

Citation preview

  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    1/13

    Readme for Adventure Works DW2014 Multidimensional Databases

    ProjectThis sample contains projects used to deploy an Analysis Services multidimensionaldatabase based on Adventure Works sample data. There are two projects in thesample: one for the enterprise edition and one for the standard edition of SQLServer. f you are usin! the "usiness ntelli!ence edition of SQL Server# use theenterprise project.

    Requirements

    $e%uirements to install and deploy the Adventure Works &W '()* +ultidimensional

    sample database and project:

    ). SQL Server '()* Analysis Services# deployed in multidimensional mode. ,ormore information on re%uirements see -ardware and Software $e%uirementsfor nstallin! SQL Server '()*.

    '. SQL Server &ata Tools# a feature installed when installin! SQL Server# used tocreate Analysis Services projects

    . $ead access to a copy of the AdventureWorks&W'()*database

    Demonstrates

    Analysis Services +ultidimensional capabilities.

    Install te sam!les

    ). &ownload the /Adventure Works +ultidimensional +odels SQL Server '()*/from 0odeple1 .

    '. 2n3ip the download folder. 4ote the location where the 5le was saved.

    "est and validate te sam!les

    ). 6erify read access to the relational data source AdventureWorks&W'()*.a. 7pen SQL Server +ana!ement Studio and connect to the Database

    #n$ineinstance where the AdventureWorks&W'()* is located.

    b. 81pand the Databasesfolder.

    c. Locate the AdventureWorksDW2014database.

    http://msdn.microsoft.com/en-us/library/ms143506.aspxhttp://msdn.microsoft.com/en-us/library/ms143506.aspxhttps://msftdbprodsamples.codeplex.com/downloads/get/880664https://msftdbprodsamples.codeplex.com/downloads/get/882336https://msftdbprodsamples.codeplex.com/downloads/get/880664https://msftdbprodsamples.codeplex.com/downloads/get/882336http://msdn.microsoft.com/en-us/library/ms143506.aspxhttp://msdn.microsoft.com/en-us/library/ms143506.aspx
  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    2/13

    %ote&f the database is not visible try refreshin! the database node. fthe database is still not available check that the database was installedand that appropriate permissions e1ist on the database instance.

    d. 81pand the AdventureWorksDW2014database object and e1pandthe "ablesfolder.

    e. 0hoose any table# ri!ht click on it# and click on 'elect "o! 1000ro(s.

    f. f the select statement successfully returns rows then the privile!esneeded to read data from the data source are appropriately set.

    '. &ependin! on the edition of SQL Server that is installed# open the 'tandardor #nter!risefolder. f you are usin! the "usiness ntelli!ence# &eveloper or8valuation editions choose the #nter!riseproject.

    %ote: Admin permissions on the SSAS multidimensional instance are neededto run this solution. See 9rant Server Administrator ermissions ;AnalysisServices#dit>. The connection mana!er windowwill open.

    a. 6erify the server namepoints to the server and instance whereAdventureWorksDW2014database is located.

    b. n the lo$ on to te serverarea verify that the credentials are corrector update them as necessary.

    c. 6erify connect to a databasepoints toAdventureWorksDW2014.

    d. 0lick on "est .onnection# and the connection should succeed

    ?. n the connection mana!er window select the Im!ersonation Informationtab

    %ote&f the service account does not have su@cient privile!es# then chooseanother option. See Set mpersonation 7ptions ;SSAS +ultidimensional

  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    3/13

    D. $i!ht click the project object a!ain and select 'o( De!lo/ment Pro$ress.A &eployment ro!ress window will open.

    )(.$i!ht click the project object a!ain and select De!lo/.

    )). Watch the deployment pro!ress until it comes to a successful end.

    "o test te de!lo/ed instance of te sam!le model&

    ). 7pen SQL Server +ana!ement Studio and connect to the Analysis Services+ultidimensional instance where you deployed the database.

    '. 81pand the Databasesfolder and locateAdventureWorksDW2014Multidimensional)## or theAdventureWorksDW2014Multidimensional)'# .

    . 81pand the cubes folder. $i!ht click on the Adventure Works cube# hover over%e( uer/and select MD.

    a. 6erify that Adventure Works is the selected cube in the %uery window.

    b. n the %uery window paste the followin! +&E e1pression:

    Select Non Empty [Date].[Calendar ear].mem!ers on ro"s#

    Non Empty [$roduct].[$roduct Cate%or&es].[Cate%ory].mem!ers on columns

    'rom [Adventure Works]

    "(ere [)easures].[Sales Amount]

    c. 0lick the #+ecutebutton and results should appear after a moment.

  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    4/13

    Readme for Adventure Works DW2014 Multidimensional Database

    3acku!sThis sample contains backup 5les used to deploy an Analysis Servicesmultidimensional database based on Adventure Works sample data. There are twoprojects in the sample. 7ne for the enterprise edition and one for the standardedition of SQL Server. f you are usin! the "usiness ntelli!ence edition of SQLServer# use the enterprise project.

    Install te sam!les

    ). &ownload the /Adventure Works +ultidimensional +odel SQL '()* ,ull&atabase "ackupsF.

    '. ,rom ,ile &ownload# click 'ave.

    . 2n3ip the folder and e1tract the .abf 5le to a location that is available to the

    database instance.

    %ote&The default ?*bit path is 0:Gro!ram ,ilesG+icrosoft SQL

    ServerG+SAS)'.+SSQLS8$68$G7LAG"ackup. 2se 0:Gro!ram ,iles ;1C?

  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    5/13

    H$estore1mlnsI/http:JJschemas.microsoft.comJanalysisservicesJ'((Jen!ine/KH,ileK0:Gro!ram ,ilesG+icrosoft SQLServerG+SAS)'.+SSQLS8$68$G7LAG"ackupGAdventureWorks&W'()*+ultidimensional88.abfHJ,ileK

    H&atabase4ameKAdventureWorks&W'()*+ultidimensional88HJ&atabase4ameKHAllow7verwriteKtrueHJAllow7verwriteKH&bStora!eLocation1mlnsI/http:JJschemas.microsoft.comJanalysisservicesJ'((CJen!ineJ)((J)((/K0:Gro!ram ,ilesG+icrosoft SQL ServerG+SAS)'.+SSQLS8$68$G7LAG&ataGHJ&bStora!eLocationKHJ$estoreK

    'tandard #dition&

    H$estore1mlnsI/http:JJschemas.microsoft.comJanalysisservicesJ'((Jen!ine/K

    H,ileK0:Gro!ram ,ilesG+icrosoft SQLServerG+SAS)'.+SSQLS8$68$G7LAG"ackupGAdventureWorks&W'()*+ultidimensionalS8.abfHJ,ileKH&atabase4ameKAdventureWorks&W'()*+ultidimensionalS8HJ&atabase4ameKHAllow7verwriteKtrueHJAllow7verwriteKH&bStora!eLocation1mlnsI/http:JJschemas.microsoft.comJanalysisservicesJ'((CJen!ineJ)((J)((/K0:Gro!ram ,ilesG+icrosoft SQL ServerG+SAS)'.+SSQLS8$68$G7LAG&ataGHJ&bStora!eLocationKHJ$estoreK

    "o test te de!lo/ed instance of te sam!le model&

    ). 7pen SQL Server +ana!ement Studio and connect to the Analysis Services+ultidimensional instance where you deployed the database.

    '. 81pand the Databasesfolder and locateAdventureWorksDW2014Multidimensional)## or theAdventureWorksDW2014Multidimensional)'# .

    . 81pand the cubes folder. $i!ht click on the Adventure Works cube# hover over%e( uer/and select MD.

    a. 6erify that Adventure Works is the selected cube in the %uery window.

    b. n the %uery window paste the followin! +&E e1pression:

    Select Non Empty [Date].[Calendar ear].mem!ers on ro"s#

    Non Empty [$roduct].[$roduct Cate%or&es].[Cate%ory].mem!ers on columns

    'rom [Adventure Works]

    "(ere [)easures].[Sales Amount]

    c. 0lick the #+ecutebutton and results should appear after a moment.

  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    6/13

  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    7/13

    Readme for Adventure Works DW"abular ' 2014 and Adventure

    Works Internet 'ales "abularModel 2014This sample contains projects used to deploy an Analysis Services tabular databasebased on Adventure Works sample data. There are two projects in the sample. Thenternet Sales Tabular +odel '()* uses a smaller subset of data than the TabularSQL '()* model.

    %ote&These samples are not meant to be used in &irectQuery mode. See ,ormula0ompatibility in &irect Query +odeto obtain a deeper understandin! of thedierences about runnin! a model in n+emory mode versus &irectQuery mode.

    Requirements

    $e%uirements to install and deploy Adventure Works &W Tabular '()* and theAdventure Works nternet Sales Tabular +odel '()* sample database and project:

    ). SQL Server '()* Analysis Services# deployed in tabular mode. ,or moreinformation on re%uirements see -ardware and Software $e%uirements fornstallin! SQL Server '()*

    '. SQL Server &ata Tools# a feature to install when installin! SQL Server# used tocreate Analysis Services projects.

    . $ead access to an instance of AdventureWorks&W'()* database.

    Demonstrates

    Analysis Services Tabular capabilities.

    Install te sam!les

    ). &ownload the /Adventure Works &W Tabular SQL '()*F or MAdventure Worksnternet Sales Tabular +odel '()*/ from 0odeple1 .

    '. 2n3ip the download folder. 4ote the location where the 5le was saved.

    . 6erify read access to the relational data source AdventureWorks&W'()*.

    a. 7pen SQL Server +ana!ement Studio and connect to the Database#n$ineinstance where the AdventureWorks&W'()* is located.

    b. 81pand the Databasesfolder.

    c. Locate the AdventureWorksDW2014database.

    %ote&f the database is not visible try refreshin! the database node. fthe database is still not available check that the database was installedand that appropriate permissions e1ist on the database instance.

    http://msdn.microsoft.com/en-us/library/hh213006.aspxhttp://msdn.microsoft.com/en-us/library/hh213006.aspxhttp://msdn.microsoft.com/en-us/library/ms143506.aspxhttp://msdn.microsoft.com/en-us/library/ms143506.aspxhttps://msftdbprodsamples.codeplex.com/downloads/get/882331https://msftdbprodsamples.codeplex.com/downloads/get/882333https://msftdbprodsamples.codeplex.com/downloads/get/882333http://msdn.microsoft.com/en-us/library/hh213006.aspxhttp://msdn.microsoft.com/en-us/library/hh213006.aspxhttp://msdn.microsoft.com/en-us/library/ms143506.aspxhttp://msdn.microsoft.com/en-us/library/ms143506.aspxhttps://msftdbprodsamples.codeplex.com/downloads/get/882331https://msftdbprodsamples.codeplex.com/downloads/get/882333https://msftdbprodsamples.codeplex.com/downloads/get/882333
  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    8/13

    d. 81pand the AdventureWorksDW2014database object and e1pandthe "ablesfolder.

    e. Select any table# ri!ht click on it and click on 'elect "o! 1000 ro(s.

    f the select statement successfully returns rows then the privile!esneeded to reload data are available.

    *. 7pen the folder that contains the solution 5les.

    %ote: Admin permissions on the SSAS tabular instance are needed to run thissolution. See 9rant Server Administrator ermissions ;Analysis Services

  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    9/13

    )=.,rom the menu bar click on 6ileand select 'ave All.

    )?.n the 'olution #+!lorerpane ri!ht click on AW DW "abular Model '2014or the AW DW Internet 'ales "abular Model 2014project andselect Pro!erties.

    )B.Select De!lo/mentfrom the left pane. 6erify the 'ervername matches the

    tabular instance from step '. 0han!e the Server name if needed.

    )C.0lick -to close the properties window.

    )D.n the 'olution #+!lorerpane ri!ht click on AW DW "abular Model '2014or the AW DW Internet 'ales "abular Model 2014project andselect De!lo/. Wait a moment until the model is deployed.

    "o test te de!lo/ed instance of te sam!le model&

    ). 7pen SQL Server +ana!ement Studio and connect to the Analysis ServicesTabular instance where you deployed the database.

    '. 81pand the Databasesfolder and locate AW DW "abular Model '2014or the AW DW Internet 'ales "abular Model 2014.

    %ote&There mi!ht be another database with a similar name that includesyour username and a 92& which is your workspace database. Nou canidentify workspace server and workspace database used by a model bycheckin! the Workspace &atabase and Workspace Server properties of the.bim 5le in SQL Server &ata Tools.

    . $i!ht click on database hover over %e( uer/and select MD.

    a. 6erify that AW DW "abular Model ' 2014or the AW DWInternet 'ales "abular Model 2014is the selected database in the

    Available Databasesdrop down list bo1 ;use H0T$LKHALTKHOKshortcut to locate the list

  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    10/13

    c. 0lick the #+ecutebutton and results should appear after a moment.

  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    11/13

    Readme for Adventure Works DW2014 "abular Database 3acku!s

    This sample contains backup 5les used to deploy an Analysis Services tabulardatabase based on Adventure Works sample data.

    Install te sam!les

    ). &ownload the /Adventure Works Tabular +odel SQL '()* "ackupF or theMAdventure Works nternet Sales Tabular +odel '()* "ackupF

    '. ,rom ,ile &ownload# click 'ave.

    . 2n3ip the folder and e1tract the .abf 5le to a location that is available to the

    database instance.

    %ote&The default ?*bit path is 0:Gro!ram ,ilesG+icrosoft SQL

    ServerG+SAS)'.+SSQLS8$68$G7LAG"ackup. 2se 0:Gro!ram ,iles ;1C?

  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    12/13

    HJ$estoreK

    AW nternet Sales Tabular +odel '()*:

    H$estore1mlnsI/http:JJschemas.microsoft.comJanalysisservicesJ'((Jen!ine/K

    H,ileK0:Gro!ram ,ilesG+icrosoft SQL ServerG+SAS)'.+SSQLS8$68$G7LAG"ackupGAWnternet Sales Tabular +odel '()*.abfHJ,ileKH&atabase4ameKAW nternet Sales Tabular +odel '()*HJ&atabase4ameKHAllow7verwriteKtrueHJAllow7verwriteKH&bStora!eLocation1mlnsI/http:JJschemas.microsoft.comJanalysisservicesJ'((CJen!ineJ)((J)((/K0:Gro!ram ,ilesG+icrosoft SQL ServerG+SAS)'.+SSQLS8$68$G7LAG&ataGHJ&bStora!eLocationKHJ$estoreK

    "o test te de!lo/ed instance of te sam!le model&

    *. 7pen SQL Server +ana!ement Studio and connect to the Analysis ServicesTabular instance where you deployed the database.

    =. 81pand the Databasesfolder and locate AW DW "abular Model '

    2014or the AW DW Internet 'ales "abular Model 2014.

    %ote&There mi!ht be another database with a similar name that includesyour username and a 92& which is your workspace database. Nou canidentify workspace server and workspace database used by a model bycheckin! the Workspace &atabase and Workspace Server properties of the.bim 5le in SQL Server &ata Tools.

    ?. $i!ht click on database hover over %e( uer/and select MD.

    a. 6erify that AW DW "abular Model ' 2014or the AW DWInternet 'ales "abular Model 2014is the selected database in theAvailable Databasesdrop down list bo1 ;use H0T$LKHALTKHOK

    shortcut to locate the list

  • 7/25/2019 Readme for Adventure Works DW 2014 Multidimensional Databases.docx

    13/13