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
Guys,
I need some help with this formula
Hi @RonaldvdH
It seems that amitchandak gives the right answer.
If it is not, please tell us your expected result.
Best Regards
Maggie
@RonaldvdH , You can create a new column
Diff = datediff([Begin],[End],Day)
ratio = divide(sum(Table[ Production in m1]), sum(Table[Diff]))
Get the dates with days. Check file
https://www.dropbox.com/s/bqbei7b8qbq5xez/leavebetweendates.pbix?dl=0
Or check the blog. A different way than the file.
@amitchandak thank you for your help
In my report your formula doesn't provide any results but luckily not an error too
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!