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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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 Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 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.

Top Solution Authors