Forum Discussion
Time Filter for previous 2 shifts.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Here is a sample table of data. The column on the far right "Wanted in the data set" shows the rows I want included in the data. The Shifts at the company I work are 10 hours with some time in between them. Due to how they are scheduled the "B" Shift overlaps two different dates. Start times: A-Shift - 07:00am -> 5:40pm B-Shift - 7:30pm -> 06:10am the data I am trying to create a filter for is to be able to isolate the shifts so I can select which shifts I want to see. The normal use case I need is a last 2 shift example for management to review in the mornings. They want to see the most recent "B" Shift and most recent completed "A" Shift. for example. the date is 2/26 I want to review the data from 2/25 "A" Shift and 2/25 "B" Shift. The 2/25 "B" Shift starts @ 7:30pm 2/25 and ends 06:10am 2/26 lbendlin let me know if this gives you what you need Thanks!
|
- lbendlin2 years ago
Super User
They want to see the most recent "B" Shift and most recent completed "A" Shift. for example. the date is 2/26yes, but at what time are they looking at the report? What if they look at it at 6:40 am? What if they look at it at 6:00 pm?
- drogers12092 years agoRegular Visitor
My goal would be that it wouldn't matter. That it would automatically now the latest completed "A" and "B" Shifts
If that is not possible, this data is usually reviewed between 6:11am and 11:00am
if I viewed at 6:11am I would want to see the data from the most recent "B" Shift 7:30pm - 06:10am and the most recent "A" Shift the day before
- lbendlin2 years ago
Super User
I assume you have only people from a single timezone looking at these reports?