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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
particleandwave
Frequent Visitor

Best method for modeling with different date dimensions

We have a use case where the user needs to calculate metrics and slice their data based on 3 different date dimensions:

 

- Policy Year

-Accident Year

-Calendar Year

 

Should this be achieved via DAX, or should I create 3 different date tables in the data model?

1 ACCEPTED SOLUTION
Daniel29195
Super User
Super User

hello @particleandwave 

 

if you want to show the 3 different dates on the same visual, 

then you need to create date tables per each .

 

if you just need a date column and caluclate the data base on these different dates, 

 

it is best to create one date table related to these 3 date columns ( 1 active, 2 inactive )  and the active to be the most date that would be used .

in the measure then , whenever you to 

 

use: 

calculate (  .. ...   ,   userelationship ( paramter1 , parameter2 )



 

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. I would appreciate hitting that kudos 👍🫡

View solution in original post

1 REPLY 1
Daniel29195
Super User
Super User

hello @particleandwave 

 

if you want to show the 3 different dates on the same visual, 

then you need to create date tables per each .

 

if you just need a date column and caluclate the data base on these different dates, 

 

it is best to create one date table related to these 3 date columns ( 1 active, 2 inactive )  and the active to be the most date that would be used .

in the measure then , whenever you to 

 

use: 

calculate (  .. ...   ,   userelationship ( paramter1 , parameter2 )



 

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. I would appreciate hitting that kudos 👍🫡

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.