Forum Discussion
Amitkr174
Helper III
7 years agoHow to find a difference between two dates which has no relation???
Hi,
Could someone please explain how to find a difference between two dates which has no relation??
I have two tables Project and opportunity which has no relation.
I am using the below DAX
Days Diff=
VALUE( DATEDIFF(LASTNONBLANK(Project[Project Start Date],1),LASTNONBLANK(Opportunity[Close Date],1),DAY))
4 Replies
- TeigeGao
Solution Sage
Hi Amitkr174,
Based on my test, we can use the following DAX if two dates has no relation.
Days Diff = DATEDIFF(LASTNONBLANK(Project[Project Start Date],1),LASTNONBLANK(Opportunity[Close Date],1),DAY)
The result will like below:
Best Regards,
Teige