Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8362951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:03:40+00:00 2026-06-09T12:03:40+00:00

Can a dimension ID record, also be used as a column (attribute)? I do

  • 0

Can a dimension ID record, also be used as a column (attribute)? I do not know if this will work, or if it is against best practices if i do. Here is a more detailed explanation of why i am asking this, and what i am looking for:
I have a dimension with only 6 records, called a Past Due Dimension.
It looks like the following:

    PastDueBandDimID     PastDueMin     PastDueMax     PastDueDesc
    _____________________________________________________________________
    1                    0              0              Current
    _____________________________________________________________________
    2                    1              29             1-29 Days Past Due

And on it goes with 30-59 days / 60 – 89 days / 90-180 days.
This pattern all in all works fine, but i would like to create a User Hierarchy with this data, so i can group it different ways. So what i thought of doing, was creating in the DSV, additional fields called 1-29 / 30-59…. and reference the DimID in these fields, so i could create my Hierarchy. I do not feel this is a good way of doing it, but i have no othher ideas. Any suggestions is appreciated! I would like to group (in not all but in some) of my reports 0-59 days, and 60-180 days, and a user hierarchy would enable the users to do this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:03:42+00:00Added an answer on June 9, 2026 at 12:03 pm

    When doing bucketing like this, I almost always create physical bucket columns on an aggregated fact rather than a “past due” dimension.

    I can understand the temptation in building this dimension like this since it’s very “flexible”, but as you are discovering it makes using automated tools (such as ssas) more difficult, as well as forcing you to constantly update your fact tables to reflect the new “past due” dimension value.

    Instead, why not just build an aggregate that sits on top of your fact and is rebuilt daily (or even a view if your DB is strong enough). Using invoices as an example:

    Invoice
    Invoice Due Date
    PastDueLTE29 (1 if <= 29, 0 otherwise)
    PastDue30to59 (1 if >= 30 and <= 59, 0 otherwise)
    PastDue60to89 (1 if >= 60 and <= 89, 0 otherwise)
    PastDue90to180 (1 if >= 90 and <= 179, 0 otherwise)
    PastDueGTE180 (1 if >= 180, 0 otherwise)
    

    If you then want to group on, say all invoices < 60 days past due, you would just filter where either of the first two columns = 1.

    If you really want a hierarchy, couldn’t you just add a few columns to your table?

    I really don’t like using “Level” in the names of columns… but:

    PastDueBandDimID
    PastDueLevel1Name ("Past Due" or "Current")
    PastDueLevel2Name ("1-60" or "61-180" or "180+")
    PastDueLevel3Name ("1-30", "31-60", "61-90", "90+"
    PastDueLevel3Min
    PastDueLevel3Max
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know we can define single dimension array in excel VBA using the following
Is there a pattern that can handle recurring dimension in data warehouse? I've got
How can I flatten the 2 dimensions array int originalArray[][] to 1 dimension array?
When you surf with your browser, you can increase or decrease the font dimension
How can I convert this type of Arraylist to Two Dimensional Arraylist ? ArrayList<ArrayList<String>>
I wonder whether someone can help me please. I've created this form which allows
Is CV_64F largest dimension/size of a single unit of data that can be stored
Can someone explain me why the following program doesn't work, and how to make
How can I find unique visitors using gapi? At Google Analytics, I used custom
I can not access public method of my class MyPanel which extends JPanel .

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.