Financial Data Model Overview
Financial Data Model Overview
December 4, 2008
Agenda
Reporting Solution Star Schema Primer Data Modeling Process Finance Data Models Design Challenges and Choices Implementation Conclusion
2
December 4, 2008
December 4, 2008
Levels of Reporting
Analytics Enterprise Data Warehouse Combined information from multiple source systems. Current and historical information Much more sophisticated data structures to enable analysis: cubes and star schema Operational Reporting Tactical data from production systems that address operational needs Denormalized data structures with embedded business logic Transactional Reporting Supports day to day transactional users Requires knowledge of transactional data
Operational
Transactional
December 4, 2008
REPORTING SOLUTION
December 4, 2008
Transaction Tables
separate tables per Business Unit
Summary Table
XXCMP and XXCSU
* Brothwell, Kist, and Yelland, Finance 9.0 Reporting Solution Training April, 2008
December 4, 2008
Can be joined to transaction and summary tables Department table contains flattened version of the campus organization department tree
* Brothwell, Kist, and Yelland, Finance 9.0 Reporting Solution Training April, 2008
December 4, 2008
CSU Business Unit Transaction Tables GAP Business Unit Transaction Tables
* Brothwell, Kist, and Yelland, Finance 9.0 Reporting Solution Training April, 2008
December 4, 2008
December 4, 2008
December 4, 2008
10
December 4, 2008
11
December 4, 2008
12
December 4, 2008
13
Star Schema - a data model that consists of one fact table and one or more dimension tables
Dimension Table
Fact Table Contains: facts and/or measures to be analyzed (i.e., amount, count, etc.) and foreign keys (keys to dimension tables) Dimension Table Dimension Table
Dimension Table Contains attributes describing a campus entity (i.e., department, account type, ledger, etc.)
December 4, 2008
14
Star Schema
Fact tables contain process activity located in the center (quantitative data) Some example facts are monetary amount, budget amount and statistics amount Dimensions tell the story and provide the detail to the facts. Which departments budget? When was the last transaction posted for a given account?
December 4, 2008
WHO?
WHAT?
THE FACTS
WHERE?
WHEN?
15
Easy to navigate
Number of table joins reduced Star schema recognized by leading query tools
December 4, 2008
16
3. Usability
Understandable for users Better support unanticipated questions
4. Star schemas are extremely compatible with business intelligence query tools such as OBIEE.
17
December 4, 2008
December 4, 2008
18
December 4, 2008
19
December 4, 2008
20
Data profiling
Querying reporting solution Correlating fields/ values Matrix of Attributes Across Document Sources
December 4, 2008
21
prototyping dashboards
December 4, 2008
22
December 4, 2008
23
4 Fact tables
Actual Transactions Budget Transactions Encumbrance Transactions Actual, Budget and Encumbrance Summary
December 4, 2008
24
Actual Fact
Who
(Dept ID, Vendor, etc)
Budget Fact
What
(Account, Fund, etc)
Encumbrance Fact
When
(Acctg. Period, Fiscal Year, etc.)
Summary Fact
Where
(Business Unit, etc)
December 4, 2008
26
December 4, 2008
27
December 4, 2008
28
December 4, 2008
29
December 4, 2008
30
December 4, 2008
31
Cal Poly Needs Primary and Secondary Budget Specialists and Managers
Available for querying and display in reports Used for access control in Finance dashboards - filtering / ease of use
December 4, 2008
32
Department Dimension
December 4, 2008
33
December 4, 2008
34
December 4, 2008
35
December 4, 2008
36
Design Challenges
Challenge Reporting solution is denormalized
PolyData typically sources normalized data sources and manages denormalization
Solution Took us a little outside of our comfort zone Deconstructed the reporting tables into unique combinations of elements
December 4, 2008
37
Design Challenges
Challenge Attributes are overloaded
For example, a document_id can represent an invoice number, a PO number, a journal identifier, etc.
Solution Preserved this concept in the dimensional models because it is familiar to Finance
December 4, 2008
38
Design Challenges
Challenge Uniqueness not enforced in the reporting solution
December 4, 2008
39
Design Challenges
Challenge Nightly rebuild of the reporting solution potentially deletes rows
December 4, 2008
40
Design Challenges
Challenge Transactional and summary reporting tables may not tie
journal vs. ledger sources summing the detail may give the wrong answer
Solution This is a known issue to which Finance is accustomed Opportunity for a dashboard integrity report
December 4, 2008
41
Used reporting solution names with full spelling and adding Code and Descr where appropriate.
December 4, 2008
42
December 4, 2008
43
December 4, 2008
44
December 4, 2008
45
IMPLEMENTATION
December 4, 2008
46
December 4, 2008
Total person-days
July through October 2008 Approximately 140 person-days
December 4, 2008
48
December 4, 2008
49
Nightly Build
Job Source pull Reporting solution build Data model build End user table refresh TOTAL Minutes (approximate) 30 70 140 60 300
December 4, 2008
50
December 4, 2008
51
December 4, 2008
December 4, 2008
53
CONCLUSION
December 4, 2008
54
Future Work
Labor Cost GAAP Reporting Management Dashboard/Analytics Integration with HR and Student Data
December 4, 2008
55
Questions?
Daniel Grieb Data Warehouse Architect, Analyst/Programmer Lori Silvestri Data Warehouse Analyst/Programmer
December 4, 2008
56
Contact
OBIEE Technical Conference:
http://polydata.calpoly.edu/dashboards/obiee_conf/index.html
Email: [email protected]
December 4, 2008
57