Forum Discussion
Anonymous
6 years agoNot applicable
Measure filtered by dates
Hello - My measure below returns results as expected until the underlined part. I need to add more filtering with dates that I can't seem to do. I want to be able to say X date (related table) is les...
v-frfei-msft
6 years agoCommunity Support
Hi Anonymous ,
Please try this one.
Measure 2 =
VAR d =
MAX ( Opportunity[CreatedOn] )
RETURN
CALCULATE (
COUNT ( Opportunity[OpportunityId] ),
FILTER (
altus_leadstage,
altus_leadstage[altus_name] = "MQL"
&& altus_leadstage[altus_Date] < d
),
USERELATIONSHIP ( Opportunity[ParentContactId], altus_leadstage[altus_Contact] )
)