Reputation: 113
I have two dimension.
one is Manufacturer
Other is Supplier.
Have a fact table.
Need to query the sales amount using supplier code, also want to see the relation between Supplier and Manufacturer against sales amount. Can this be done.
Is there any possibilities that can be achieved without adding a supplier key to fact.
Please help!!!
Upvotes: 0
Views: 46
Reputation: 1158
Make use of Snowflake Schema (Dimension) Design
For now, you might me having Manufacture as a dimension, you can still achieve this
SELECT [Measures].[Amount] ON 0,
{[DimManufacture].[SupplierCode].MEMBERS,
[DimManufacture].[Manufacture Code].MEMBERS
} ON 1
FROM [Cube Name]
As of i understand, i guess this is what you are looking for.
Upvotes: 0
Reputation: 640
You cannot query sales amount using supplier code because the manufacturer(int)|Amount($) pair doesn't uniquely identify supplier.
Upvotes: 1