Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

How to link two dimensions to join same fact table

$
0
0

Hi There,

The heading might not be relevant for my issue described below. Excuse me if that is the case :)

I have a cube in which i have two different dimensions. 

Dimension Product          - Product Key (PK)          -

Attributes

Fact Sales

               - Product Key

               - SalesCount

               - Price

               - Total

In current cube already Sales measure created and linked with Dimension Product on product key.

Now there is new dimension called Product Info and might have duplicate product keys.

Dimension Product Info        

-Product Key (duplicates can exists)         

- Category

         - Outlet

As per the requirements I have to aggregate total measure based on Category, Outlet which are in new dimension and also they might have null/blank values.

 As per client requirements:

  • Shouldn’t create any new fact table(named query) from existing Fact Sales to link with new dimension
  • Product andProduct Info should be different cube dimensions
  • BothProduct and Product Info should be linked such a way that aggregates can be get from product key of any dimension. I mean if use product key from any dimension it should give same aggregates
  • Should not bring category and outlet intoProduct dimension    

Any possible solution would be helpful.  Appreciate your help.



Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>