Forum Discussion
Top N + Other based on dimensional attribute
- 4 years ago
I managed to do this using the same RANKX based TopN+other column on a colours table joined to colours column in the Product table (1-many), so can still link back to sales table.
I guess I'll need more such tables if I need more TopN+others on attributes, but better than messing with the fact table. Model beginning to look more like snowflake.
Thanks for the pointer johnt75. It may have an even better answer but it was a frighteningly big article!
I managed to do this using the same RANKX based TopN+other column on a colours table joined to colours column in the Product table (1-many), so can still link back to sales table.
I guess I'll need more such tables if I need more TopN+others on attributes, but better than messing with the fact table. Model beginning to look more like snowflake.
Thanks for the pointer johnt75. It may have an even better answer but it was a frighteningly big article!