The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hey,
I'm trying to filter our nightshift so shift start sunday 19:35 and ends monday 06:30 is "Sunday" an so on.
Example. shift start Wednesday 16-02-2022 23:15 and ends Thursday 17-02-2022 06:30 two top rows.
How can i filter so when i choose 16-02-2022 in slicer it takes from 23:15-06:30 and leaves out 16-02-2022 00:00:00 - 16-02-2022 06:30:00??
Hope you guys can help me.
Day shift:
06:30-15:00 Mon-Thursday
06:00 - 12:20 Friday
Evening shift: 15:00 - 23:15 Mon-Wednesday
Thursday 15:00 - Friday 02:05
Night shift:
Sunday 19:35 - Monday 06:30
Monday 23:15 - Tuesday 06:30
Tuesday 23:15 - Wednesday 06:30
Wednesday 23:15 - Thursday 06:30
Hi, @Slikvikdk ;
Can you share some simple data and show the results you want to output?
It makes it easier to give you a solution.
Looking forward to your reply!
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I encountered a similar challenge yesterday. As a solution I recommend creating this kind of "date2" column that will place the nightshift to previous date if it has value before a certain time:
Proud to be a Super User!
User | Count |
---|---|
14 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
28 | |
19 | |
14 | |
8 | |
5 |