dbTalk Databases Forums  

How to handle discreet data-sets within a shared database.

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss How to handle discreet data-sets within a shared database. in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mark Sage
 
Posts: n/a

Default How to handle discreet data-sets within a shared database. - 10-07-2004 , 09:09 AM






I have a data set that has multiple clients data in one database all kept
seperate by a single client key. I want to be able to query transactions
within the database by a number of dimensions such as supplier and customer
status. The problem is that the supplier sits under the client key as does
the status but I can't "connect" these together in a cube. I can have a
dimension of client/supplier and a dimenasion of client/status but I cant
figure how to make these relate (if possible) so that if I pick a single
client to filter on, the dimensions automatically filters to the suppliers in
that client and the statuses for that client as well as just the transactions
for that client. The only thing way I've figured so far is to use security
roles to limit the view on the two dimensions to the clients data, but this
isn't ideal and is prone to error.

Anyone got any idea's, or am I trying to do something that isnt really
possible and simply need to create seperate data-sets for each client from
the source data?

Here's and example data set:-
[Clients]
Client_Id,Client_Name
[Suppliers]
Client_Id,Supplier_id,Supplier Name
[Statuses]
Client_Id,Status_cd,Status_Desc
[Customers]
Client_Id,Cust_Id,Fore_Name,Surname,status_cd
[Transactions]
Client Key,Supplier_Id,Value,Date,Time,Cust_id

I want to be able to slice/dice the transactions by supplier and status for
example, but for this to be within a single client.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.