Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
how can i find the minimun(the first date for each item) date for each item in this tabale with dax ?
date item min date?
table
date item
2/1/17 3
1/1/17 3
6/7/17 4
5/5/17 4
Solved! Go to Solution.
Hi,
If you need this as a measure, then simply drag Item to the visual and write this measure
=MIN([date])
If you want a calculated column, then try this
=CALCULATE(min([date]),FILTER(data,data[Item]=EARLIER(data[Item])))
Hope this helps.
Hi,
If you need this as a measure, then simply drag Item to the visual and write this measure
=MIN([date])
If you want a calculated column, then try this
=CALCULATE(min([date]),FILTER(data,data[Item]=EARLIER(data[Item])))
Hope this helps.
Thank
Its help a lot.
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 32 | |
| 16 | |
| 13 |
| User | Count |
|---|---|
| 84 | |
| 70 | |
| 38 | |
| 27 | |
| 24 |