I have an SQL Server 2008 SSIS/SSAS Datawarehouse cube that I am publishing, in this cube I have the following:
Dimensions
----------
Company
Product
Sales Person
Shipped Date (time dimension)
Facts
-----
Total Income
Total Revenue
Gross
For the above, I have setup primary (PK) / surrogate (SK) keys for the dimension/fact data referencing.
What I would also like to include is things such as Order Number
or Transaction Number
which in my mind would fit in a fact table as the order number is different for every record. If I were to create a order number dimension it does not make much sense as I would have as many order numbers as I would facts.
Right now, when I load my fact data I do multiple Lookups on the dimensions to get the surrogate keys, I then pass in the fact data and also include these Order Number and Transaction Number varchar
columns when I load my fact data but they cannot be used as they are not something you can aggregate on so they don't show up in my SSAS, only columns of numeric data type do for the fact table (total income, total revenue, etc).
Is there something I can do to make these available for anyone using the Cube to filter on?