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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.