Forum Discussion
jhaldane
8 years agoFrequent Visitor
Group Days and create shifts
Please can you assist me (step by step) Please can you show me how to group into days and then create three shifts. i.e. I have many rows for the 1st May all with different times. Then group times ...
- 8 years ago
Hi jhaldane,
Month = Test_3[Dates].[MonthNo] Day = Test_3[Dates].[Day] Time = FORMAT(Test_3[Dates] ,"hh:mm:ss") Shift = IF ( Test_3[Time] >= TIME ( 6, 0, 0 ) && Test_3[Time] < TIME ( 14, 0, 0 ), "Shift1", IF ( Test_3[Time] >= TIME ( 14, 0, 0 ) && Test_3[Time] < TIME ( 22, 0, 0 ), "Shift2", "Shift3" ) )Best regards,
Yuliana Gu
harshaduggi
4 years agoFrequent Visitor
I want to create something similar,
what i want is
shift1 - 7:30 AM - 7:30 PM
shift2 - 7:30PM - 7:30AM,
so when user1 select shift1 then the report has to filter yesterday shift1 - 7:30 AM - 7:30 PM and shift 2 should filter from yesterday evening 7:30PM - 7:30AM(today Morning).