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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Could not find a solution that was similar to what I need. I am not sure how to calculate the end time for a particular item. Basically we have a start time (ex. 08:15am) with a 7.5hr cycle, to be removed at (15:15PM). How can I use Power BI to calculate: Time In x Cycle Time = Removal Time?
Solved! Go to Solution.
I hope this works, I just divided Cycle Time by 24 (here 24 is hours in a day)
Hi @Pricef1 ,
You can do this in M query but before that you need to have Date and Time columns combined.
After combining it, create a custom column in M query as:
= [Date] + #duration(0,0,0,27000)
--here 27000 is in seconds (7.5 hours)
Result:
Thanks,
Hamed
Or would i need to somehow convert cycle time in a seperate column and then refence that column?
Is there a way to have it update automatically? For example not all cycle times are the same. Could vary from 6hrs to 7.5hrs depending on product. Time in * Cycle Time / ?????? maybe?
I hope this works, I just divided Cycle Time by 24 (here 24 is hours in a day)
Modified just slightly and it gave me the exact times I was looking for!! Thank you for your help
Awesome! Please mark my reply as a solution 🙂
Tune to your needs:
DAX way
Removal Time = 'Table'[Time In] + Time(7, 30, 0)
M Query way
= Table.AddColumn(#"Changed Type", "Removal Time", each [Time In] + #duration(0, 7, 30, 0), type time)
Hope this helps
Question is not clear!
Proud to be a Super User!