Showing posts with label ssas. Show all posts
Showing posts with label ssas. Show all posts

Monday, March 26, 2012

History Cube Design Question

Hi,

In SSAS 2005 - I have History cube with 2 partitions 2005 and 2006 data. Both has different tables in data source view. In cube both partitions are map to same measure group, so there is no different measure groups for 2005 and 2006 just to make it clear.

Time to time I need to add new measures in latest cube (2006 partition) data those measures don't have data for 2005 partition.

Right now when I add new measures in 2006 I have to full process the 2005 and 2006 both partitions. Is there any way or way to design my cube so that when I add new measures to cube I can only full process 2006 partition. If user selects my new measures with 2005 date they can get null/zero that's fine.

Thank you for sharing your ideas - Ashok

This is my third post, previous two different questions no one replied....I start thinking either I ask stupid questions or this site is not good for me. Fingers cross this time...Take it easy....

Are you saying you have dimesion members referenced by the later partition that do not exist for the earlier partition?

When you process the later partition you could uncheck the 'process related objects' option. And you could also process any changed dimensions seperately. I think this should work, but you'd have to try it out for yourself to determine any difficulties.

Try doing this using the impact analysis feature to get a good idea as to what will be affected before actually doing the processing.

|||

Hi Ashok,

What if you create a new measure group which contains only the new measures created for the 2006 partition? To facilitate this, you could add a named query fact table to the DSV, which returns the relevant columns from the 2006 table. Then, you should only need to process this measure group, when you add a new 2006 measure.

|||

Thanks Deepak and Dork,

My Dimension members are not changed for any partitions I am just adding new measures in later partition.

Let me correct one thing first my 2005 and 2006 partitions are based on same database view but I have added filter to partitions by joining with DIM_DT like YR = 2005 and YR = 2006.

Any way, Deepak your solution works fine only thing is now there is new measure group for end users and at one point I have to marge this with rest of the partitions and do full process for 2005 and 2006, may be end of the year will be good time.

Because I also have a cube with different linked cubes (like virtual cube in 2000) I created a new calculated measures in virtual cube for each new measures in new measure group and made it new measures visible false so at least users don't see new measure group they see new calculated measures. I think is looks more complex finally keeping new measure group for current year is good idea.

Let's see how it goes. Thanks again - Ashok

|||

Guys How about if I keep 10 extra user defined fields in fact table and map them when I have new measures and make them visible?

-Ashok

sql

Wednesday, March 7, 2012

hierarchy

hi All,

i am facing a problem while creating a simple product hierarchy in SSAS.

i am able to create the hierarchy and deploy the cube,but in the browser while analysing i drag and drop the hierarchy .but only the key are displayed not the caption.

Please do help me with this

thanks in advance

Lalitha

You need to post this to the SQL Server Analysis Services forum.|||

There shouldn't be any secrets to getting this to work, so I would just double check what you've done. Check the definition of the hierarchy/level/attribute and ensure that you are browsing the correct object. If you are still having troubles, please provide more info such as what version of SSAS you are using (2000 or 2005), what browser you are using, and more details about just what the problematic hierarchy looks like (key columns, name columns, etc).

Hope this helps

|||

hi,

i am using SSAS 2005 . and i am using the browser tab which is available when the cube is proccessed.

i'll give the steps what i have done

i created a dimension of product consisting of attribute

productid

productname

producttypeid

priducttypename

productcategoryid

productcategoryname

then i am creating the heirarchy in the dimension Structure tab available.

the level were automatically identified and there was no caption avaliable

i draged and dropped the captions to the appropriate levels

and the caption didnot appear while browsing the cube..

This what is did

please do help me as soon as possible

Thanks in advances

Lalitha

|||

What exactly are you doing when you "drag and drop captions" to appropriate levels? I'm guessing you're dragging attributes onto the hierahcy panel and dropping them under levels which creates attribute relationships (and thus Member Properties), but is not related to the caption of the level.

Levels are based on attributes and get their members from the values of the attribute on which they are based. Each attribute contains a KeyColumns property that determines how members are uniquely identified by the server and a NameColumn property that determines how the members are displayed. If the NameColumn is not specified, then the KeyColumn will also be used as the name. (If multiple key columns are specified, then a name column must be specified.) (In addition to names, translations can also be specified in the translations tab but as long as you've not changed anything in the translations tab it should have no impact.)

|||

hi Matt Carroll

Thanks , I solved it. You'r information help me a lot

Regards

Lalitha