We are creating data mart from data source that we are given. I have created following tables in data mart.
FactPopulation (Fact table which has population data per year)
FactMeeting count (Fact table which has event info occur almost everyday 2005-)
DimMeeting Topic (Name of Meetings)
DimGeography (Place)
DimDate (Date Dimension)
So if I want to do analysis Population and meeting county have different granularity. I want to do analysis by year and by month. Is it any way to combine both fact table into one or any suggestion ?
Once the data is rolled up to a certain granularity the easiest way to go deeper than the grain of say the FactMeeting grain would be to look back at the source and produce another rollup at the grain you want. Consider creating a FactMeetingByCounty table which is rolled so the count metric is by county. Then produce the combined data you are after as a single table.
The alternative may be to produce the table you are after utilizing this "new grain logic" and the logic used in the creation of the FactPopulation fact.
Lots of options here.