- Microsoft SQL Server 2014 Business Intelligence Development Beginner’s Guide
- Reza Rad
- 377字
- 2021-08-13 17:55:22
Time for action – using the Dimension Designer
The Dimension Usage tab is a specific designer for dimensions in the SSDT. In the next example, you will see how to create new attributes using the Dimension Designer:
- In the Solution Explorer, right under dimensions, double-click on Sales Territory.
- A new designer window will be opened; this designer is called a Dimension Designer.
- In the Dimension Structure tab, drag-and-drop Sales Territory Region from the Data Source View pane to the Attributes pane.
- Do this for Sales Territory Group and Sales Territory Country as well.
- Select Sales Territory Key in the Attributes pane, and then in the Properties window, change the AttributeHierarchyVisible property of this attribute to false.
- Save the changes and process the dimension. You can process the dimension with the Process button, which is the second button from the top left-hand side of the dimension structure tab.
- Go to the Browser tab in the Dimension Designer and then reconnect to a process (you can see how to reconnect to a process in the next screenshot). Select Sales Territory Country in the hierarchy drop-down list and you will then see the dimension member values listed in the browser:
What just happened?
The Dimension Designer used in this example adds new attributes to the Sales Territory dimension. To create a new attribute, you can simply drag-and-drop it from the data source view, but sometimes the data source view doesn't contain the appropriate column, which forces you to change the data source view (in the next chapter, you will see how to make changes in the DSV).
You can also change the properties of the dimension attributes in the Dimension Structure tab. For example, we changed AttributeHierarchyVisible
of Sales Territory Key to false, and as a result, this attribute was not shown directly in the browser. There are some properties and configurations for each attribute. The following list shows the most useful properties of attributes:

To run this example, you need to deploy the changes and the process again; this step is required after each change that you make in the metadata of the SSAS cube, dimension, or measures. For the next example, we will use the OrderBy
and OrderBy Attribute
properties to change the ordering of a dimension attribute.
- LabVIEW 2018 虛擬儀器程序設(shè)計(jì)
- Python科學(xué)計(jì)算(第2版)
- Java應(yīng)用開發(fā)技術(shù)實(shí)例教程
- 快速念咒:MySQL入門指南與進(jìn)階實(shí)戰(zhàn)
- Jenkins Continuous Integration Cookbook(Second Edition)
- 運(yùn)用后端技術(shù)處理業(yè)務(wù)邏輯(藍(lán)橋杯軟件大賽培訓(xùn)教材-Java方向)
- Nagios Core Administration Cookbook(Second Edition)
- Building Business Websites with Squarespace 7(Second Edition)
- JavaScript悟道
- HTML5移動(dòng)前端開發(fā)基礎(chǔ)與實(shí)戰(zhàn)(微課版)
- 游戲設(shè)計(jì)的底層邏輯
- 網(wǎng)絡(luò)綜合布線與組網(wǎng)實(shí)戰(zhàn)指南
- 高性能MVVM框架的設(shè)計(jì)與實(shí)現(xiàn):San
- 微信公眾平臺(tái)服務(wù)號(hào)開發(fā):揭秘九大高級(jí)接口
- Python程序設(shè)計(jì)案例教程