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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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