Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Filtering cube from value on a fact table Expand / Collapse
Author
Message
Posted Monday, February 25, 2013 5:32 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, February 25, 2013 10:18 AM
Points: 5, Visits: 12
Hi all,

I'm posting here cause my research didn't help me at all

I'm lookig to filter data via a role in SSAS.
I have a fact table, with a column "valid" (0 or 1) wich is linked to dimensions tables. I want to use a role in SSAS to filer the data using this column.

I saw that I can filter the dimensions, but didn't see if it's possible to do it with the fact table... Maybe using MDX? But I don't know where to do that.

any inputs would be appreciated!

thanks in advance


Post #1423567
Posted Monday, February 25, 2013 9:27 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, January 13, 2014 7:34 AM
Points: 117, Visits: 499
Why not create a "Valid" dimension that is hidden from the users and base your security of that?

Mack
Post #1423664
Posted Monday, February 25, 2013 9:50 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, February 25, 2013 10:18 AM
Points: 5, Visits: 12
yes, that's what I was thinking... I asked because I didn't know (still don't know) if it's possible to to this without dimension!

thanks for your reply
Post #1423672
Posted Monday, February 25, 2013 9:55 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, January 13, 2014 7:34 AM
Points: 117, Visits: 499
A dimension will be the quickest way as it will continue to use aggregations across your data. If you try to limit the data against a low level data item then the cube will have to go to that low level for every query and that would affect performance

Mack
Post #1423674
Posted Monday, February 25, 2013 10:19 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, February 25, 2013 10:18 AM
Points: 5, Visits: 12
perfect answer! thanks a lot Mack!
Post #1423691
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse