Time hierarrchy issue — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Time hierarrchy issue

Received Response
1
Views
5
Comments
mmajdana1
mmajdana1 Rank 6 - Analytics Lead

Hi ,

I am using OBIEE 12 c and i have a question.

I made a time hierarchy in Admin tool, but whe i open for example 3 qouarter it shows me values of 3 quarter but for every year.

I assume i made a mistake in a model but dont know where ??

pastedImage_0.png

Answers

  • Robert Angel
    Robert Angel Rank 8 - Analytics Strategist

    Hi,

    you should see 4 quarters in every year, the key at that level needs to be unique for the combination of year and quarter.

    Where you would need to look would be in the dimension hierarchy associated with your time dimension in the business model layer.

    The structure should be along the lines of; -

    total  ¬

                year

                       ¬

                         Quarter

    Look under quarter for the key that has been set, query it back to the physical table and pull the data back and make sure that the granularity is correct.

  • Robert Angel
    Robert Angel Rank 8 - Analytics Strategist

    See this as a useful reference; -

    https://gerardnico.com/dat/obiee/obis/time_dimension

  • Joel
    Joel Rank 8 - Analytics Strategist

    This looks like your key at the quarter level isn't unique for each year.

    You should have something like 2015Q1 or 201501 as the key for the 1st quarter of 2015, for example. At the moment, it looks like you're using the values - 1,2,3 & 4 as your keys for the quarters. the same applies for keys at all other levels of your time hierarchy.

  • What Joel said ...

    You have an issue in your hierarchy keys.

    "Q1" or "January" can't be keys because they aren't unique but shared for every year. So you need things, like Joel posted, like "2015Q1" or combine the year with the quarter to make the key unique.

  • mmajdana1
    mmajdana1 Rank 6 - Analytics Lead

    Thank you , that was the problem, I had just values 1,2,3,4 throught Quarter column not 2015Q1 or similar.