Solved

How to use the attribute key value as the sort order in a SSAS cube

Posted on 2012-03-09
2
773 Views
Last Modified: 2016-02-14
Hello,

I have a SSAS cube with a dimension "PRODUCT DIMENSION".  Within this dimension, I would like the "PRODUCT" attribute to always sort according to the "PRODUCT KEY" attribute.

Is there a way to do this?

Thanks
0
Comment
Question by:hpsuser
2 Comments
 
LVL 17

Assisted Solution

by:Barry Cunney
Barry Cunney earned 250 total points
ID: 37710208
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 250 total points
ID: 37713470
Select the Product attribute and change the OrderBy property to "Key".

(This assumes that your "PRODUCT KEY" attribute is the dimension key.  If it's not, you should really consider renaming it :) )
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now