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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi, please assist with the following:
i want to subtract time in [2] from [1]. the result wont be a date obviously.
any assistance would be appreciated.
Hi @roninn75,
You can also use:
Calculates the fraction of the year represented by the number of whole days between two dates. Use the YEARFRAC worksheet function to identify the proportion of a whole year's benefits or obligations to assign to a specific term.
YEARFRAC(<start_date>, <end_date>, <basis>)
Hi @roninn75
Try the DATEDIFF formula
https://msdn.microsoft.com/en-us/library/dn802538.aspx
DATEDIFF(<start_date>, <end_date>, <interval>)
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 |
|---|---|
| 57 | |
| 43 | |
| 40 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 183 | |
| 114 | |
| 93 | |
| 61 | |
| 45 |