Degenerate Dimensions

View previous topic View next topic Go down

Degenerate Dimensions

Post  memphis on Mon Nov 15, 2010 10:59 pm

Hi there,

I have come across a situation where my Fact table contains a degenerate 'Claim Number' column. This is fine, but I have discovered that some of the incoming data to populate my fact table do not have a claim number. How should I handle this situation? I don't want to fill my fact table with 'N/A', are there any other suggestions to handle this?



Posts : 19
Join date : 2010-10-21

View user profile

Back to top Go down

Re: Degenerate Dimensions

Post  ngalemmo on Tue Nov 16, 2010 12:26 am

Depends on which database system you are using.

If it is Oracle, it will interpret a blank value as null, which messes up joins if you are combining data from multiple facts with claim number as one of the dimensions. So, you should set it to some constant... "N/A", "?" or whatever the business suggests.

Other database systems would allow you to set it to "" or " " and not interpret it as null. In which case it doesn't matter.

Posts : 3000
Join date : 2009-05-15
Location : Los Angeles

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum