Hi Guys
I am working in the Universe design tool and we have a requirement now to show only the recent records relating to a billing group which is scd type 2.
We have a scenario where customers can belong to billing groups and billing group in turn belong to a master group.
A customer in its life cycle can change billing groups within a master group or can change a master group all together.
All the group information is stored in a dimension table where we have a flag to show if its a current billing group /master group along with the date when it was last updated etc.
My challenge is to create a new class in the universe which only shows the recent billing or master groups for a member and keep the historical records as is...
Here is the structure as attached:
The Fact table is joined to group table on dim_group _contract_key which is the unique combination of customer/billing group/master group.
in dim_group table we have seq_group_id which updates according to group_id
Any ideas how to implement this?