Get Subdimension (outrigger) count (built using Bridge Table)
2 posters
Page 1 of 1
Get Subdimension (outrigger) count (built using Bridge Table)
Hello,
How do I get the subdimension count?
I have a table
FactPolicyAggregate
DimAutoVehicles
DimAutoDrivers
AutoVehicles and AutoDrivers have effective and expiration dates.
How do I get the number of AutoVehicles and AutoDrivers, who are
1) Active as of the end of month.
2) Not active at the end of the month?
Thanks,
Raghu.
How do I get the subdimension count?
I have a table
FactPolicyAggregate
DimAutoVehicles
DimAutoDrivers
AutoVehicles and AutoDrivers have effective and expiration dates.
How do I get the number of AutoVehicles and AutoDrivers, who are
1) Active as of the end of month.
2) Not active at the end of the month?
Thanks,
Raghu.
raghuk- Posts : 8
Join date : 2009-06-16
Re: Get Subdimension (outrigger) count (built using Bridge Table)
Usually, things like this are handled by building a snapshot aggregate table. Trying to do this as queries against a detailed fact table using traditional BI tools is problematic and slow. It gets worse if the user wishes to do time comparisons (such as year over year). Building a snapshot allows you to embed classification logic in an ETL procedure or stored procedure, making queries simple and fast for the end user.
Re: Get Subdimension (outrigger) count (built using Bridge Table)
Nick,
Thank you for your insightful answers, as always.
So, is it a correct statement if I say 'Aggregate tables should always be a star schema for ease of operations'?
Thanks,
Raghu.
Thank you for your insightful answers, as always.
So, is it a correct statement if I say 'Aggregate tables should always be a star schema for ease of operations'?
Thanks,
Raghu.
raghuk- Posts : 8
Join date : 2009-06-16
Similar topics
» How to resolve a many to many relationship? Bridge Table or Utilize the same fact table?
» Fact table granulartity to small or just built wrong
» Column count on dimension table
» Question for count in fact table
» Finding the grain with One-To-Many fact tables.
» Fact table granulartity to small or just built wrong
» Column count on dimension table
» Question for count in fact table
» Finding the grain with One-To-Many fact tables.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum