官术网_书友最值得收藏!

Time for action – modifying the measure properties

After modifying the dimension attribute's properties, it is time to change the measure's properties. Properties such as display format, display folder, and aggregation function can be changed in the Properties window. Perform the following steps:

  1. In SSDT, go to the Cube designer, and in the Cube structure tab, select the Sales Amount measure. Change the FormatString property of this measure to Currency.
  2. Select the Order Quantity measure and change FormatString of this measure to #,##.
  3. Go to the Excel browser; there is an option to view the cube in Excel, and you need to click on Analyze in the Excel icon in the browser.
  4. In the Excel browser, choose Sales Amount and Order Quantity, and from Order Date, choose Calendar Year as shown in the following screenshot:
    Time for action – modifying the measure properties

What just happened?

You changed the display format of the measures by configuring the FormatString property. You can also change the AggregationFunction to Sum, Average, Count, and so on. Also, in this example, you saw a new browser for the Analysis Service cube.

Excel is a great tool for business users; it can connect to the SSAS cube and shows measures and dimension attributes as formatted. Business users are quite familiar with Excel because it can be easily found on every system that has Microsoft Office installed. Also, Excel has many features for filtering and charting, which makes it more comfortable for users to work with data.

主站蜘蛛池模板: 孟津县| 长兴县| 科技| 金门县| 富锦市| 兴化市| 磐石市| 南京市| 杨浦区| 塔河县| 凤城市| 寻甸| 老河口市| 襄汾县| 微山县| 垣曲县| 定边县| 普宁市| 司法| 保康县| 盐山县| 宝清县| 南川市| 科技| 南昌县| 江安县| 长治市| 遵化市| 莒南县| 上虞市| 珲春市| 虞城县| 潜山县| 贡嘎县| 中牟县| 南丰县| 凤山县| 志丹县| 阿勒泰市| 铁岭县| 五峰|