The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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])
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |