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

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.

主站蜘蛛池模板: 湖口县| 乌海市| 朝阳区| 台南市| 高平市| 灌云县| 黑水县| 光山县| 稻城县| 大城县| 丰台区| 青海省| 铜陵市| 临洮县| 乌兰县| 九寨沟县| 桓仁| 璧山县| 库伦旗| 新竹县| 五大连池市| 稷山县| 商洛市| 墨竹工卡县| 葫芦岛市| 景东| 塘沽区| 克东县| 五台县| 永济市| 太白县| 麻阳| 承德县| 北京市| 麟游县| 彭州市| 天津市| 清镇市| 聂拉木县| 丹巴县| 沛县|