Forum Discussion
npombo
Helper I
4 years agoFinding earliest date given a value in another column
Hello, I am having trouble creating a measure that takes the earliest date based on a value in another column. To break it down in simpler terms, let's call the referenced column "Status" and the...
- Anonymous4 years ago
Hi npombo ,
Please use calculate() function to wrap the filter() formula.
For example:
measure = calculate(min([date]),filter(allselected('table'),[status]="Yes"))
Best Regards,
Jay
amitchandak
Super User
4 years agonpombo , try like
Measure2 = MINX(FILTER(allselected('Table Name'), 'Table Name'[Status] = "Yes"), 'Table Name'[Date])
orr
Measure2 = MINX(FILTER(('Table Name'), 'Table Name'[Status] = "Yes"), 'Table Name'[Date])