Forum Discussion

Vegonzalez's avatar
Vegonzalez
Frequent Visitor
1 year ago
Solved

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=0khujasfjp2u5krkq1o6sohts&st=8xkt11wx&dl=0

  • ryan_mayu's avatar
    ryan_mayu
    1 year ago

    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
     
     
    pls see the attachment below

6 Replies