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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Vegonzalez
Frequent Visitor

Help with column analysis

I have a table with dispatch data and I need to find the smallest time element when multiple units are on the same call.

If the Incident Number is the same, return the smallest Dispatch to Clear Time in seconds to column BE when Truck 1 annd Engine 2 are on the same call.  Sample data attached.

 

Thanks

 

https://www.dropbox.com/scl/fi/ysmjuc2999iulxyw6tl1w/Multi-Unit-Example.xlsx?rlkey=0khujasfjp2u5krkq...

1 ACCEPTED SOLUTION

@Vegonzalez 

you can try this

 

 

Column = minx(FILTER(Sheet1,Sheet1[Incident Number]=EARLIER(Sheet1[Incident Number])&&Sheet1[Frontline Unit]=1&&Sheet1[Multi U]>1),Sheet1[Dispatch To Clear (seconds)])+0
 
11.PNG
 
pls see the attachment below




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @Vegonzalez ,

 

Did @ryan_mayu  reply solve your problem? If so, please mark it as the correct solution, and point out if the problem persists.

 

Best regards,

Adamk Kong

ryan_mayu
Super User
Super User

not clear about your question. How did you get the result in Excel? I didn't see any formula.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Ryan,

Thanks, that did get the correct output.

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Apologies.  Here is the sheet with the formula.  What I am trying to find is the amount of time multiple units were busy if they are frontline units.  Column BD has the calculation.  I also cannot figure out how to return just one number per event as I'll need to sum the column.  Many thanks!

 

https://www.dropbox.com/scl/fi/j3z0i9iluwibjt8rwa5gf/Multi-Unit-Example1.xlsx?rlkey=d1evjggsg10slu5f...

@Vegonzalez 

you can try this

 

 

Column = minx(FILTER(Sheet1,Sheet1[Incident Number]=EARLIER(Sheet1[Incident Number])&&Sheet1[Frontline Unit]=1&&Sheet1[Multi U]>1),Sheet1[Dispatch To Clear (seconds)])+0
 
11.PNG
 
pls see the attachment below




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.