Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Data mining on a single table

Author  Topic 

dealwi8me
Starting Member

13 Posts

Posted - 2012-11-30 : 11:13:07
Hello,

I am wondering, is it possible to have data mining on a single table with a large amount of data?
The given table is about sales and contains all the needed info (SellerType, ShopLocation, ItemCategory, ItemCondition, Sold, Price, ShippingCost).

I tried to create a data cube but I can only get one dimension.

What I want to exam is the affect shipping cost has on sales based on category, or the price based on condition and category, etc.

Any thoughts?

Thank you in advance.

dealwi8me
Starting Member

13 Posts

Posted - 2012-12-01 : 05:20:54
I found the solution and I'm posting it in case someone else have the same problem.
The answer is to create relational tables as following, instead of having one table with all the data in it.

Table Sales ((SalesID, SellerTypeID, ShopLocationID, ItemCategoryID,ItemConditionID, Sold, Price, ShippingCost)
Table SellerType (SellerTypeID,SellerTypeDescription)
Table ShopLocation (ShopLocationID,ShopLocationDescription)
Table ItemCondition (ItemConditionID, ItemConditionDescription)
Table ItemCategory (ItemCategoryID, ItemCategoryDescription)

Regards
Go to Top of Page
   

- Advertisement -