Implementing format string, multiplication factor, and sort order features

In this recipe, we're going to learn how to enhance our reporting dimension.

Take one more look at the last screenshot in the previous recipe. You'll see that the values are not formatted at all. You might also notice that the sales figures were supposed to be in thousands, but they're not. Finally, we might have wanted to put the sales indicators on top and to always stick with the Internet and then Reseller report items, using the same order (see rows 8-11 in Excel in the screenshot).

Now that we know what the goal is, let's see how to do it, but first-let's put some entries in our Report_Items sheet.

Getting ready

Open the Metadata.xlsx file that you used in the previous ...

Get MDX with Microsoft SQL Server 2016 Analysis Services Cookbook - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.