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!View all the Fabric Data Days sessions on demand. View schedule
Hello,
I am developing a dashboard to analyze billable hours and overtime hours, my table has two time columns, "Work start time" and "Work finish time", I want to create a logic that will check whether the finishing time is after 18:00 or not, and if so, calculate how many hours of overtime it is. I've tried to apply basic math operators like greater than, but I don't think they work with that format. Any idea on how to do this?
Solved! Go to Solution.
Hi, add extra column in Power Query or Power Bi, and seperate the time from this column and make formula like this
IF Value([Time]) > TimeValue(18:00) then overtime else normal
and next make another column Value([Time]) - TimeValue(18:00). In power BI You can fillter next this quantity by "Overtime/Normal". I wasn't input the formula in a line with power m/dax standards, only for expleaning the meaning.
Hi @EdK99 ,
try this calculated column
Hi @EdK99 ,
try this calculated column
Hi, add extra column in Power Query or Power Bi, and seperate the time from this column and make formula like this
IF Value([Time]) > TimeValue(18:00) then overtime else normal
and next make another column Value([Time]) - TimeValue(18:00). In power BI You can fillter next this quantity by "Overtime/Normal". I wasn't input the formula in a line with power m/dax standards, only for expleaning the meaning.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!