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:
In SSDT, go to the Cube designer, and in the Cube structure tab, select the SalesAmount measure. Change the FormatString property of this measure to Currency.
Select the OrderQuantity measure and change FormatString of this measure to #,##.
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.
In the Excel browser, choose SalesAmount and OrderQuantity, and from OrderDate, choose CalendarYear as shown in the following screenshot:
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.