Forum Discussion
alexa_0028
Resolver II
4 years agoSelect column value from table based on measure value
Hi ALL, I have a scenario like below, where I want to display Contact Names only where the "Last Trial Date" is as shown - But, when I add the contact name dimension I see multiple last_tr...
amitchandak
Super User
4 years agoalexa_0028 , Try a measure like
Measure =
VAR __id = MAX ('Table'[C_Account_name] )
VAR __date = CALCULATE ( MAX('Table'[NUM] ), ALLSELECTED ('Table' ), 'Table'[C_Account_name] = __id )
CALCULATE ( MAX ('Table'[Activity Contract] ), VALUES ('Table'[C_Account_name] ),'Table'[C_Account_name] = __id,'Table'[NUM] = __date ,FILTER('Activity Type',[Activity Type]="Trial"))