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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.