I am new to OLAP development. I am facing the following below issue.
I have an invoice dimension and attributes as year, month, date along with others. I would like to create hierarchy for year ->month->Date. while creating the relation ship between invoiceid–>Year–>Month(created key as month+year)–>date
I get duplicate key error for year 2011 while processing the dimension I understand there are duplicate year. I would like to find the correct approach for this issue Can anyone help me?
Are you trying to create a hierarchy from
InvoiceID -> Year -> Month -> Date? If so, no wonder you are getting it wrong, you should create your hierarchy asInvoiceID -> Date -> Month -> Year