SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Hiding members from a dimension that aren't used in a measure group


Hiding members from a dimension that aren't used in a measure group

Author
Message
simonspring
simonspring
Forum Newbie
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: General Forum Members
Points: 6 Visits: 38
SSAS 2012

Hi,

I suspect this is a seriously rookie question but I've not managed to find an answer on it so hoping someone can help.

I have an olap dimension, Order Date, which is based on a role-play view, dim_order_date_vw, based on a table, dim_date, holding 50 years of dates from 01/01/1970. I have an Orders cube, which is based on a fact table, fact_orders, with 10 years of transactions in it starting 01/01/2000. When browsing the cube in Excel and filtering by order_date, the dimension filter presents me with all dates from 1970. Is there a way of restricting this to just those that have corresponding orders?

One approach would be to tackle this in the warehouse by basing the view, dim_order_date_vw, on a join between dim_date and fact_orders. This has various downsides and I'm hoping there's a simple way of achieving this in SSAS?

Thanks in advance,
Simon
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search