Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hierarcy

Status
Not open for further replies.

burakcan

Programmer
Joined
Oct 10, 2011
Messages
39
Location
CA
Hi All,

I have dimension table as you see in the picture.
District_Key is the key joining the fact table. But I like to create a hierarchy with New_DVP column and summarize the measure based on the New_DVP.
Can anyone help me for this?

Thanks

 
 http://files.engineering.com/getfile.aspx?folder=38e11838-6c2c-4da8-a900-5bb258a11af0&file=hierarchy.jpg
Rollups, aka snowflake type dimensions are created during dimension creation. I am not sure if you can rebuild the dimension and add a rollup; you should check on this if no one can confirm one way or the other.

An alternative is to create a new dimension that includes the rollup and add that dimension to the fact table. Then eventually, retire the other dimension.

==================================
advanced cognitive capabilities and other marketing buzzwords explained with sarcastic simplicity


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top