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

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.

主站蜘蛛池模板: 马公市| 额敏县| 赤壁市| 运城市| 宽城| 抚顺市| 宁武县| 苗栗市| 高台县| 松潘县| 武宣县| 乌兰浩特市| 邹平县| 封丘县| 高平市| 武穴市| 永新县| 永德县| 交城县| 乐至县| 金坛市| 凤翔县| 淮北市| 墨脱县| 安达市| 西充县| 西吉县| 怀柔区| 内乡县| 花垣县| 汉阴县| 东乡县| 龙陵县| 余姚市| 仁布县| 张掖市| 铁岭市| 江西省| 汕尾市| 洛宁县| 永修县|