Forum Discussion
Multilevel Custom Sorting Clustered Column Chart
- 11 months ago
Hi BojepJoe
To get multilevel custom sorting in a clustered column chart:
-
Create Sort Tables
-
One for Category with your custom order (Category, SortKey_Category).
-
One for Subcategory with order inside each category (Subcategory, SortKey_Sub).
-
-
Model Setup
-
Relate Fact[Category] <<CategoryOrder[Category].
-
Relate Fact[CatSubKey] << SubcategoryOrder[CatSubKey].
-
-
Sort by Column
-
In Model view:
-
Category<<Sort by SortKey_Category.
-
Subcategory<<Sort by SortKey_Sub.
-
-
-
Hierarchy & Visual
-
Build a hierarchy: Category<<Subcategory.
-
Place it on the X-axis of your clustered column chart.
-
Enable Drill Down to move between levels.
-
-
Hi BojepJoe
To get multilevel custom sorting in a clustered column chart:
-
Create Sort Tables
-
One for Category with your custom order (Category, SortKey_Category).
-
One for Subcategory with order inside each category (Subcategory, SortKey_Sub).
-
-
Model Setup
-
Relate Fact[Category] <<CategoryOrder[Category].
-
Relate Fact[CatSubKey] << SubcategoryOrder[CatSubKey].
-
-
Sort by Column
-
In Model view:
-
Category<<Sort by SortKey_Category.
-
Subcategory<<Sort by SortKey_Sub.
-
-
-
Hierarchy & Visual
-
Build a hierarchy: Category<<Subcategory.
-
Place it on the X-axis of your clustered column chart.
-
Enable Drill Down to move between levels.
-