Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

Two Facts - Two different grains

$
0
0

Hi All,

I'm just getting back into SSAS after inheriting an existing cube and I'm not sure how to proceed with this scenario:

Budget Fact:

 - Product
 - Customer
 - Time

Promo Fact:
 - Product
 - Customer
 - Promotion
 - Time

I'm looking to do a report combining measures from the Budget Measure Group and Promo Measure Group.
Essentially I'm trying to get a list of Customers and Products where the Promotion.Discount Value > .4.

This means I have to pull the Promotion Dimension into my dataset and that's where things start getting hairy.

A report on Customer, Product, Promo ID, and Promo.Amount is 1565 records.
A report on Customer, Product and Budget.Amount is 31 records.
A report on Customer, Product, Promo ID, Promo.Amount and Budget.Amount is 179,878 records! 

Really what I'm trying to achieve (from a SQL point of view) is to return a list of Customers and Products where the Promo Discount Value is > .4 then link that to another dataset on Customer ID and Product ID to get the budget value.
I've spent a fair bit of time reading about the Dimension Usage facility etc and nothing seems to be helping. Any advice?!


Viewing all articles
Browse latest Browse all 2472

Trending Articles



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