Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Thanks
Solved! Go to Solution.
@Anonymous , if data type is time, it will sort. If it duration created as text, then create a sort column and mark that as sort column
You can do this power query for sort column
sort col= Duration.Days([D1])*1000000 + Duration.Hours([D1])*10000 + Duration.Minutes([D1])*100 + Duration.Second([D1])*100
Else create two column in dax
duration 1 = [d1]
Duration sort = <Create a logic based on format>
mark Duration sort as sort column for Duration 1 and use that in visual
How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c
@Anonymous , if data type is time, it will sort. If it duration created as text, then create a sort column and mark that as sort column
You can do this power query for sort column
sort col= Duration.Days([D1])*1000000 + Duration.Hours([D1])*10000 + Duration.Minutes([D1])*100 + Duration.Second([D1])*100
Else create two column in dax
duration 1 = [d1]
Duration sort = <Create a logic based on format>
mark Duration sort as sort column for Duration 1 and use that in visual
How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c
Many Thanks for your reply. I will try it out.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 54 | |
| 47 | |
| 39 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 83 | |
| 70 | |
| 38 | |
| 28 | |
| 27 |