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.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 50 | |
| 34 | |
| 32 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 64 | |
| 64 | |
| 41 | |
| 27 | |
| 24 |