- Microsoft SQL Server 2014 Business Intelligence Development Beginner’s Guide
- Reza Rad
- 541字
- 2021-08-13 17:55:22
Time for action – viewing the cube in the browser
After creating the cube, you can view it in the cube browser. There are two ways to open the cube browser: through SQL Server Management Studio and through the built-in cube browser in the SSDT. The SSMS cube browser will be useful when we deploy the cube to an SSAS Server (for details on deployment, refer to the Deploying and processing section of this chapter). For this example, we use the SSDT cube browser.
To browse the cube, processing is required. Processing is the process of extracting data from a data warehouse, applying the cube's calculations and structures to it, and loading it into the OLAP cube's structure. Perform the following steps to view the cube:
- In Solution Explorer, right-click on the project Chapter 02 SSAS Multidimensional and choose Process.
- You will see a dialog box stating The Server contents appears to be out of date. Would you like to build and deploy the project first?. Answer it by clicking on Yes.
- In the Process window, leave all the configurations as the default and click on Run.
- After completing the Process Progress step, close the Process window.
- Go to the Browser tab, which is the last tab in the cube designer.
- If you've got a message saying that the database does not exist or the cube is not up to date, try to reconnect the browser. You can click on the Reconnect button, which is the third icon from the top left-hand side of the Browser tab.
- In the Browser tab, from the Metadata pane, under the Internet Sales measures, drag-and-drop Sales Amount into the main empty pane in the middle. Do the same for the Order Quantity measure.
- You will see a grand total of Sales Amount and Order Quantity calculated from the cube.
- From the Metadata pane, under the Sales Territory dimension, drag-and-drop Sales Territory Key into the main pane as shown in the following screenshot:
What just happened?
You deployed and processed the cube in the previous example in order to be able to view the cube in the browser. In the last section of this chapter, we will discuss deployment and processing in more detail.
Viewing the cube in the browser of SSDT helps SSAS developers to check the frontend view of the cube from the user's perspective. In this example, you've seen the grand total of Sales Amount shown easily with a drag-and-drop in the browser window.
Slicing and dicing the Sales Amount by Sales Territory is also easily done by dragging-and-dropping the Sales Territory Key dimension in the browser. However, you probably noticed that the Sales Territory dimension only has one attribute, which is a key, and the key numbers don't make sense for a business user. So, for the next section, we need to bring descriptive information as additional attributes in the Sales Territory dimension and other dimensions of the cube.
On the other hand, the Sales Amount and Order Quantity dimension scan be shown with thousand separators and with a suitable format (for example, currency for the sales amount) in order to be more appropriate from the user's point of view. In the next section, we will change the display format of measures.
- Android應用程序開發與典型案例
- Learning Apex Programming
- LabVIEW2018中文版 虛擬儀器程序設計自學手冊
- Python自動化運維快速入門(第2版)
- Java Web基礎與實例教程(第2版·微課版)
- UVM實戰
- LabVIEW虛擬儀器程序設計從入門到精通(第二版)
- Hadoop大數據分析技術
- 輕松學Scratch 3.0 少兒編程(全彩)
- 前端Serverless:面向全棧的無服務器架構實戰
- Node.js核心技術教程
- BackTrack 5 Cookbook
- Spark for Data Science
- 數據預處理從入門到實戰:基于SQL、R、Python
- WordPress Responsive Theme Design