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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
can you someone help me to calculate time duration, please? I am unable to calculate
I need to calculate the time duration between "Created" and "last_updated".
See the example below,
| Created | last_updated |
| 09:25:01 | 09:31:01 |
| 09:57:17 | 11:12:01 |
| 12:06:00 | 12:25:01 |
Solved! Go to Solution.
Thanks for your help. The formula works for me but how do I change format to time I don't find that option?
Can you help me?
Thanks,
Pradeep
@Anonymous
Select the field --> Column Tools --> Format
Please see image below:
@Anonymous
You can do this by using DAX formula.
You can show the time difference in HH:MM:SS or in mins if you want.
To show in format HH:MM:SS simply use the formula below in a column not a measure
Time_Diff = Sheet1[Time_B] - Sheet1[Time_A]
To convert the Time_Diff to minutes use the formula below in a column not a measure
Mins = HOUR(Sheet1[Time_Diff])*60+MINUTE(Sheet1[Time_Diff])
If the fields show time only make sure you change the format to time (e.g. HH:MM:SS) see image below:
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!
| User | Count |
|---|---|
| 93 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |