on 10-03-2019 1:56 PM
The short answer is no, you can't put more than one dimension in that box. The main ranking part of the subquery requires exactly one dimension and exactly one measure.
To calculate the measure using a combination of two dimensions, or to somehow consider more than one measure in the ranking you will need to create extra objects at the universe level as composites/concatenations of the objects you want to consider.
Example: Create a dimension called "RankingValue" and define it as something like:
DB1.Table1.Field1 || "|" || DB1.Table1.Field2
There is also a third box to drop dimensions in. This third box "Ranked by" will allow you to perform the ranking repeatedly over a changing context.
For example, if you wanted to find the top 10 sales products for the entire dataset, you might try something like:
Top 10 [Sales Product] Based on [Sales Revenue]
But, if you want the Top 10 products for each Store, you can also do that using the Ranked by:
Top 10 [Sales Product] Based on [Sales Revenue] Ranked by [Store]
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the confirmation. At then end I solved it concatenate the 2 dimensions
Ercole
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.