Forum Discussion
antlufc
3 years agoFrequent Visitor
Value Based on Max Date from Another Column
Hi, I am looking to find a DAX measure/measures that will let me find the value of a sales lead based upon the max date time only if there is more than one entry in the same month. I do not want ...
tamerj1
Community Champion
3 years agoHi antlufc
Please refer to attached sample file with the proposed solution
Measure =
SUMX (
SUMMARIZE ( 'Table', 'Table'[pipeline_journey_id], 'Table'[event_date] ),
MAXX (
INTERSECT (
'Table',
TOPN (
1,
CALCULATETABLE (
'Table',
ALLEXCEPT ( 'Table', 'Table'[pipeline_journey_id],'Table'[event_date] )
),
'Table'[event_datetime]
)
),
'Table'[amount_average_contract_value]
)
)