Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rhl94
Advocate III
Advocate 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 ()
)
)

1 REPLY 1
AlB
Community Champion
Community Champion

Hi @rhl94

Can you share the pbix? Or at least show the tables and relationships in your data model? What is calls[call_id]?
and [NumberOfSecondsInQueue]? Could you also explain a bit more what the measure is supposed to do? I don't quite understand

Cheers

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors