Forum Discussion
yoav20007
8 years agoHelper II
basic dax find minimun date
how i can find the minimun(the first date for each item) date for each item in this tabale with dax ?
date item min date?
2/1/17 3
1/1/17 3
6/7/17 4
5/5/17 4
As a calculated column:
= CALCULATE ( MIN (Table[date]), ALLEXCEPT ( Table[item] ) )
as a measure it depends on other filters in place.
Adding to mattbrice's answer, please put table first, then column in ALLEXCEPT()
Measure = CALCULATE(MIN(Table1[Date]),ALLEXCEPT(Table1,Table1[Item]))
And make sure your Item column is not summarized.
Regards,
3 Replies
- mattbriceSolution Sage
As a calculated column:
= CALCULATE ( MIN (Table[date]), ALLEXCEPT ( Table[item] ) )
as a measure it depends on other filters in place.
- v-sihou-msftMicrosoft Employee
- yoav20007Helper II
Thank