Hi Guys,
I have a Date Dim table and another table which contains
Date Signed, Date Sold, and a status column with both Accepted and Sold . Both are connected to the Date Dim which has a Year column. The Date Signed is the active relationship
I am trying to cumulate by Year based on the two dates. ie one line Signed by year another Sold by Year.
So far i have tried the below for Date Signed and the values are correct.
SalesContracct ## = CALCULATE (
DISTINCTCOUNT(New_salescontractSet[New_salescontractId]),USERELATIONSHIP(New_salescontractSet[SignedOn], 'DateDim'[Date]),
FILTER (ALL(DateDim[Date]),
('DateDim'[Date]) <= MAX ( DateDim[Date] ) && DateDim[Date] <= TODAY()))
How do i get the cumulative count if the Sold date is not the active relationship and also inlcude the Status of "Sold"
can anyone please assist?
cheers