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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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])