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 wrote this calculated column and it works perfectly, but the problem is that it takes way too much time to load. Question is, how can I optimize this?
NextOutboundCall =
VAR __call = Calls[Date]
RETURN
CALCULATE (
MIN ( Calls[Date] ),
FILTER (
ALLEXCEPT ( Calls, Calls[Customer] ),
Calls[Date] > __call &&
Calls[Type] = "OUTBOUND"
)
)
My data looks like this (I'm replacing results with blank where there are blanks):
Solved! Go to Solution.
@zaza , Try a new column like
minx(filter(Calls, [Customer] =earlier([Customer]) && [Date] > earlier([Date]) && [Type] = "OUTBOUND"),[Date])