How do I take this ERD and model it using Dimension and Fact tables

ERD for a Departmental Licence Management System

Gretings,

SQL Guru needed! This one seems rather tricky to me and could be implemented in several ways I guess.

I am learning SQL, and Dot Net Core 8 with Visual Studio. We have a requirement to record and report on software licences used by our departments. I have drafted this ERD that seeks to (but probably with errors given my level of expertise).
The help I seek is to understand how this would translate into Dimension Tables, Fact Tables, Primary Keys, Foreign Keys,Surrogate Keys – as applicable please.

Summary of business process:

  • Departments have a set number of users.
  • Each department defines one or more Bundles.
  • Each Bundle comprises of one or more Licences.
  • All Licences have two cost models. One is for a set number of users, e.g. £50k for 10 users. One is for Perpetual (lifetime) e.g. £100k.
  • Each Licence is associated with a Vendor. Vendors can thus provide many Licences. Vendors provide the costs for set users, AND, a perpetual cost FOR ALL licences they provide.
  • Each Department allocates one or more licences to it, and defines how many of its users will use each of the respective licences – in specific months of specific years. If a particular licence is not used in a given month and//or year then no record is created, the assumption is “no use” for that Year+Month combinations. Days are never used.
  • We want to run reports of various combinations of insight, based on Year, Quarters, Months – from 2010 to 2040. These reports can provide insight based on department’s allocation of users to licences over the months and years, such as:
  1. Total invested by Year, Quarter and Month
  2. Total invested by Vendor
  3. Departmental Costs
  4. Bundle Costs
  5. Licensing Cost
  6. User based costs
  7. Perpetual based costs
  8. combinations of the above.

Key attributes

DEPARTMENTS

  • Name
  • Total cost for All Bundles
  • Total cost for User Based licensing
  • Total cost for all Perpetual licensing.

BUNDLE

  • Name
  • Total Costs
    — Total for all licences in the Bundle based on User Based licensing
    — Total for all licences in the Bundle based on Perpetual licensing

LICENCE [in this example, this licence costs £5k per 10 users]

  • Name
  • Cost per user count (e.g. £5k)
  • User count (10)
  • Perpetual Cose

VENDOR

  • Name
  • Total we have invested in this vendor
    — for all User Based licensing
    — for all Perpetual licensing
  • An email contact

ALLOCATION

  • Licence
  • Year
  • Month
  • User Ratio (% of users likely to use the licence)

DATES DIMENSION [we never use days, just Year, Quarter and Month]

  • Year
  • Month number
  • Month name
  • MMYYY
  • Quarter number
    I have managed to create this table using T-SQL and all is fine with this, just don’t know how it should be used.

Next steps

  1. Define the tables and type (Dimension, Fact) <— THIS IS WHERE I NEED HELP TO THIS POST
  2. Define the Primary, Foreign and Surrogate keys
  3. Determine how to calculate derived attributes
  4. Add additional useful attributes
  5. Populate and test

Thank you
and please correct any misunderstanding and poor questioning 🙂

I dont know where to start

New contributor

Doc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật