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, I have order number for each branch, I would like to know the average accurate timediff between ESD and ATD time. So I need to have a sum of subcategory(order) timediff and show in the branch timediff. And further use the sum 47074 divided by 3(we have 3 order have timediff). Please enlighten me, thanks!!
Solved! Go to Solution.
Hi @weezzy_Z ,
Please try this measure:
DEP TimeDiff =
IF (
ISINSCOPE ( 'Table'[ColumnName] ),
ABS (
DATEDIFF ( [Lastest estimated DEP for port], [Actual DEP for port], MINUTE )
),
AVERAGEX (
DISTINCT ( 'Table'[ColumnName] ),
ABS (
DATEDIFF ( [Lastest estimated DEP for port], [Actual DEP for port], MINUTE )
)
)
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @weezzy_Z ,
Please try this measure:
DEP TimeDiff =
IF (
ISINSCOPE ( 'Table'[ColumnName] ),
ABS (
DATEDIFF ( [Lastest estimated DEP for port], [Actual DEP for port], MINUTE )
),
AVERAGEX (
DISTINCT ( 'Table'[ColumnName] ),
ABS (
DATEDIFF ( [Lastest estimated DEP for port], [Actual DEP for port], MINUTE )
)
)
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
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!