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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.