As a rule, in one fact table there are both indicators of sales and costs, and add them as measures in one cube.
If you cannot have them in a single fact table, they must have common dimensions, so you can combine them in a Virtual Cube (before Mondrian 3.8). Usual time size:
DHW
- Fact_sales table:
date_key, ..., sales - Fact_cost table:
date_key, ..., cost - Table dim_date:
date_key, day_of_month, month, year, ...
Mondrian OLAP Scheme
- []:
dim_date, date_key, year, ... - Cube [Sales]:
fact_sales, [] date_key, sales - Cube [Cost]:
fact_sales, [] date_key, cost - [Sales and Cost]:
[Date], [Sales.sales], [Cost.cost]