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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
kg4u
Helper II
Helper II

Measures with different dates

Hey PBI Community,

I need some help.  I do not know how to create 1 measure which uses a specific date and then create 2 measures using a different date.  At the fundamental level I created 2 calendars, and the data results were correct when I used both calendars, however, now I can't figure out how to use the calendars to display the data.  I think I need some more complex measures. Do you have any ideas on how to resolve my problem? 

My measures are very simple.

Total Applications = SUM('Fact Data'[Applications])

Total Policies = SUM('Fact Data'[Policies])

Total Sales = SUM('Fact Data'[Original Sales])

 

Applications needs to use the Entry Date column, highlighted with the red box. 

Policies and Sales need to use the Conversion Date column, highlighted with the red box. 

 

kg4u_0-1727355714396.png

 

Here is a snip of the Fact Data

kg4u_2-1727355714401.png

 

How can I sum Applications using Entry Date?

How can I sum Policies and Sales using Conversion Date?

 

Thank you!

 

 

 

2 ACCEPTED SOLUTIONS
nandic
Super User
Super User

@kg4u , you should use combination of Calculate and UseRelationship functions.
Use 1 calendar table and then using these functions define which metrics uses which date column for calculation.
Link: https://www.sqlbi.com/articles/using-userelationship-in-dax/

Cheers,
Nemanja

View solution in original post

kg4u
Helper II
Helper II

Your solution worked perfectly for what I needed, thank you!

View solution in original post

2 REPLIES 2
kg4u
Helper II
Helper II

Your solution worked perfectly for what I needed, thank you!

nandic
Super User
Super User

@kg4u , you should use combination of Calculate and UseRelationship functions.
Use 1 calendar table and then using these functions define which metrics uses which date column for calculation.
Link: https://www.sqlbi.com/articles/using-userelationship-in-dax/

Cheers,
Nemanja

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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
Top Kudoed Authors