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.
I need to calculate the average work orders when the "schedule end date" <= "Required date"
work orders is a text field and the 2 dates are date fields
any ideas on how to calculate it?
The count of work orders where the schedule end date <= to the reqired date deviced by the total count of work orders
Hi @tamerj1 that is correct. I need a measure to caculate it. I need the average count if the condition is true
Thank you @adb123
My question was on how do you define the average? What is the numerator? Is it the count or distinct count of work order ID's (if the condition is true)? and what is the denominator?
The count of work orders where the schedule end date <= to the reqired date deviced by the total count of work orders
Hi @adb123 ,
Not clear,please provide some sample data and the result you expect.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.