Forum Discussion
rhl94
6 years agoAdvocate III
Optimizing a measure
Hi,
I am trying to make this measure working faster, as it takes quite some time to process. Table 1 does contain an ID and a duration for each sequence (there are several sequence in one call) - so I have to summarize the duration across all the sequence that occurs before the FirstConvoSequence
Number of respondents within set time :=
COUNTROWS (
FILTER (
SUMMARIZE (
FILTER ( Table1; Table1[change] = 1 && Table1[FirstConvoSequence] > 0 );
calls[call_id];
"Queue"; [NumberOfSecondsInQueue] <= MAX ( Seconds[Seconds] )
);
[Queue] = TRUE ()
)
)