This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi everyone! I am doing an HR analysis on "average time workers log in by day of the week" and I need a visual of it as well. I tried converting the time stamp (HHMM) to numeric value but it just doesn't represent the desired time format on the visual. Below is the mockup I did on Excel. Would love to rPlease help! Thank you!
Solved! Go to Solution.
Hi @Anonymous ,
To my knowledge, your requirement——Show Time format value for Y-axis could not be realized currently.
Ideas similar with what you expect have been submitted in the following links, please vote them up and you can add comments. Hopes Power Bi will implement this in nearby future.
dates and times on the y-axis of a graph
My workaround is Switch Time to Number type for Y-axis , and apply the Time format to Tooltips pane:
1. Add column: get total seconds
Time(Seconds) = HOUR([Time]) *3600 +MINUTE([Time])*60+SECOND([Time])
2. Create a measure to get the average seconds, and then change to Time type
Avg Time format =
var avgSec= CALCULATE(AVERAGE('Table'[Time(Seconds)]),ALLEXCEPT('Table','Table'[WeekDay]))
var h=INT(avgSec/3600)
var m=INT( (avgSec - h*3600) / 60)
var s=avgSec- h*3600 -m*60
return TIME(h,m,s)
Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
To my knowledge, your requirement——Show Time format value for Y-axis could not be realized currently.
Ideas similar with what you expect have been submitted in the following links, please vote them up and you can add comments. Hopes Power Bi will implement this in nearby future.
dates and times on the y-axis of a graph
My workaround is Switch Time to Number type for Y-axis , and apply the Time format to Tooltips pane:
1. Add column: get total seconds
Time(Seconds) = HOUR([Time]) *3600 +MINUTE([Time])*60+SECOND([Time])
2. Create a measure to get the average seconds, and then change to Time type
Avg Time format =
var avgSec= CALCULATE(AVERAGE('Table'[Time(Seconds)]),ALLEXCEPT('Table','Table'[WeekDay]))
var h=INT(avgSec/3600)
var m=INT( (avgSec - h*3600) / 60)
var s=avgSec- h*3600 -m*60
return TIME(h,m,s)
Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for reaching out for help.
I have helped you, now please help me by giving kudos.
Remeber we are unpaid volunteers.
Click the thumbs up and accept as solution button.
One question per ticket please. If you need to extend your request then please raise a new ticket.
You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you !
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 56 | |
| 31 | |
| 26 | |
| 23 |