Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have a formatted date column (Date_ddd_dd_hh = FORMAT('mydata'[DateStarted], "dd/mm, ddd HH:00 yyyy"))
custom sorted on (Date_ddd_dd_hh_sort = FORMAT('mydata'[DateStarted], "yyyy-mm-dd HH"))
When using First or Last the custom sort is erroneously ignored - is there a way to display the correct first/last date in the custom formatting (ie. showing first/last dates in a format not specified in the default date format list)
| Correct custom sort in table. | INCORRECT when specifying FIRST | INCORRECT when specifying LAST |
|
|
Solved! Go to Solution.
@camelCase , You might have to create a measure like
measure =
Var _min = minx(allselected(Table), Table[custom sorted])
return
maxx(filter( Table, Table[custom sorted] =_min),Table[formatted date])
@camelCase , You might have to create a measure like
measure =
Var _min = minx(allselected(Table), Table[custom sorted])
return
maxx(filter( Table, Table[custom sorted] =_min),Table[formatted date])
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 39 | |
| 33 | |
| 25 |