Get Subdimension (outrigger) count (built using Bridge Table)
Page 1 of 1 • Share •
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.

ngalemmo- Posts: 1729
Join date: 2009-05-15
Location: Los Angeles

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» vginette extraction: File count limitation
» Get Subdimension (outrigger) count (built using Bridge Table)
» Multivalued Dimension, bridge table, and constraints using SQL Server 2005
» Bridge table for INSURANCE
» Bridge Table and Customer Hierarchy
» Get Subdimension (outrigger) count (built using Bridge Table)
» Multivalued Dimension, bridge table, and constraints using SQL Server 2005
» Bridge table for INSURANCE
» Bridge Table and Customer Hierarchy
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum