Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Finding Bills & Qty Outlets

Dear Friends,

 

I have below data set.

Outlet IDDateBillNoTimeQty
34586201-Apr-2021185108:50:59 AM5
50934301-Apr-2021630209:30:24 AM4
40427401-Apr-202136309:32:46 AM5
40427401-Apr-2021112909:33:38 AM6
51622201-Apr-202173010:10:06 AM16
51622201-Apr-2021614810:45:39 AM18
33880101-Apr-2021623701:18:00 PM31
33880101-Apr-2021503201:46:13 PM17
44434601-Apr-2021357902:24:45 PM15
52927601-Apr-2021392004:18:51 PM18
34586201-Apr-2021305905:10:30 PM27
52927601-Apr-2021594106:06:19 PM30
44434601-Apr-2021558508:13:49 PM25
50934301-Apr-2021373708:48:01 PM42

 

I want to find "First Bill of the Day", "First Outlet to Cross 10 Qty in the day", "First Outlet to cross 25 Qty in the day".

Typically i want the result like the below.

 

First Bill of the Day
Outlet IDTimeBillNoQty
34586208:50:59 AM18515

 

First Outlet to Cross 10 Qty
Outlet IDTimeQty
40427409:33:38 AM11

 

First Outlet to Cross 25 Qty
Outlet IDTimeQty
51622210:45:39 AM34

 

Please help me on this.

@amitchandak @parry2k @Geradav PhilipTreacy Anonymous Sujit_Thakur 

8 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Jihwan_Kim 

       

      Technically this result is fine but i need result in 3 different tables.

      Like i have posted in the previous post.

       

      And also if the data keeps adding day by day, for the latest date it haas to calculate the result.

  • Icey's avatar
    Icey
    Community Support

    Hi Anonymous ,

     

    Please check the attachment:

     

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Icey,

       

      Thank you so much for your time and help.

       

      This is working for me. Thank you so much.