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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
nckpedersen
Helper I
Helper I

Measure that calculates based on 2 different date columns

ok, here's my big problem: I need to make calculations based on two different time horizons and those need to coincide with the same table. As you can see, the table on the left represents revenue projections and actuals based on _2024[Date] which is related to 'Line Item Schedule'[Schedule Date]. The table on the right uses 'Opportunity Product'[CreatedDate] as the time basis. The problem arises because only successful opportunities appear on the Schedule table so it cannot count in either direction. I need MQL actual to calculate in the left table as it does in the right table

For some reason, USERELATIONSHIP won't work when i set up a direct relationship with _2024[Date] and 'Opportunity Product'[CreatedDate]



image.png

image.png

1 REPLY 1
amitchandak
Super User
Super User

@nckpedersen , I do not see, two join between two tables like date and opportunity. So Userelationship is not an option.

 

If relationships are inactive because of loops or multiple paths, they can not become active using Use relationship.

 

I can see, many bidirectional joins, Make them single-directional and try to activate inactive joins

 

Example of userelationship

 

Power BI: HR Analytics - Employees as on Date : https://youtu.be/e6Y-l_JtCq4
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
Power BI HR Active Employee Tenure Bucketing, and Hired, Terminated, and Active employees: https://youtu.be/fvgcx8QLqZU

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors