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 ...
TeigeGao
Solution Sage
7 years agoHi 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
Amitkr174
Helper III
7 years agoHi,
This is not wokring where objects has no relation. I aleady tried this DAX, but it is not giving me the expected results.
I using direct query here on which I have no control.