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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.