Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ANM_97
Helper IV
Helper IV

Data modeling - customer seniority

Hello!

I need an ideea.

 

I have a tabular model made up of tables of the dimensions and facts type. Customers find themselves in a slowly changing dimension.

I need to add the customer's seniority. How could I model this?

A customer can be active in different periods.

At this moment I have a table that contains the client, the account opening date and the account closing date:

CUSTOMER_ID OPEN_DATECLOSE_DATE
1234561/1/20221/6/2022
1234561/12/2022NULL


The client dimension looks like this:

DIM_CUSTOMER_IDCUSTOMER_IDCUSTOMER_NAMEDATE_FROMDATE_TO
100123456ANA1/1/2022NULL

where date_from and date_to represent from when until when the record from DIM_CUSTOMERS is valid.

HOW CAN I MODEL THE DATA SO THAT I CAN BUILD A FACT TYPE TABLE WHERE I CAN FIND HOW MANY MONTHS OLD THE CLIENT IS ACTIVE ?

1 REPLY 1
lbendlin
Super User
Super User

How do you define active?  Open Date past Close Date, or do you have an actual transaction date of sorts?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors